linux/drivers/firmware/arm_scmi
Sudeep Holla a0edee6350 firmware: arm_scmi: Use NULL instead of integer 0 for rate pointer
Kbuild test robot reports the following sparse warning:

drivers/firmware/arm_scmi/clock.c:142:21:
	sparse: Using plain integer as NULL pointer

Use NULL pointer instead of integer 0 for rate pointer and fix the
warning.

Link: https://lore.kernel.org/r/20200717140405.17905-1-sudeep.holla@arm.com
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2020-07-17 16:06:54 +02:00
..
Makefile firmware: arm_scmi: Add notification protocol-registration 2020-07-01 17:07:25 +01:00
base.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
bus.c firmware: arm_scmi: Skip protocol initialisation for additional devices 2019-12-24 11:36:26 +00:00
clock.c firmware: arm_scmi: Use NULL instead of integer 0 for rate pointer 2020-07-17 16:06:54 +02:00
common.h firmware: arm_scmi: Add notification protocol-registration 2020-07-01 17:07:25 +01:00
driver.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
mailbox.c firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
notify.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
notify.h firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
perf.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
power.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
reset.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
scmi_pm_domain.c firmware: arm_scmi: Fix SCMI genpd domain probing 2020-06-30 14:08:18 +01:00
sensors.c firmware: arm_scmi: Remove fixed size fields from reports/scmi_event_header 2020-07-13 09:40:21 +01:00
shmem.c firmware: arm_scmi: Rename .clear_notification() transport_ops 2020-04-20 17:25:26 +01:00
smc.c firmware: arm_scmi: Provide a missing function param description 2020-07-13 09:40:21 +01:00