kernel-fxtec-pro1x/drivers/firmware/arm_scmi
Dan Carpenter 23cae492b4 firmware: arm_scmi: remove some unnecessary checks
The "pi->dom_info" buffer is allocated in init() and it can't be NULL
here.  These tests are sort of weird as well because if "pi->dom_info"
was NULL but "domain" was non-zero then it would lead to an Oops.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2018-07-09 10:50:20 +01:00
..
base.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00
bus.c firmware: arm_scmi: improve exit paths and code readability 2018-05-10 10:51:59 +01:00
clock.c SCMI cleanups for v4.18 2018-05-15 13:48:46 -07:00
common.h firmware: arm_scmi: drop unused con_priv structure member 2018-05-10 10:51:58 +01:00
driver.c ARM: SoC driver updates 2018-06-11 18:15:22 -07:00
Makefile firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
perf.c firmware: arm_scmi: remove some unnecessary checks 2018-07-09 10:50:20 +01:00
power.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00
scmi_pm_domain.c firmware: arm_scmi: add device power domain support using genpd 2018-02-28 16:37:57 +00:00
sensors.c firmware: arm_scmi: rename scmi_xfer_{init,get,put} 2018-05-10 10:51:57 +01:00