staging: greybus: remove unused apb_ctrl_fw_flashing() and apb_ctrl_standby_boot()
Subsystems (3)
PATCH 1/1 staging: greybus: remove unused apb_ctrl_fw_flashing() and apb_ctrl_standby_boot()
These functions were left behind when commit 921dbe52b40b ("greybus:
arche-platform: Add support for SPI bus sharing for Mihi") removed their only callers in 2016.
Signed-off-by Bruno Martins <[email protected]>
--- drivers/staging/greybus/arche-apb-ctrl.c | 10 ---------- drivers/staging/greybus/arche_platform.h | 2 -- 2 files changed, 12 deletions(-)
drivers/staging/greybus/arche-apb-ctrl.c +0 -10
@@ -230,16 +230,6 @@ int apb_ctrl_coldboot(struct device *dev)return coldboot_seq (to_platform_device (dev)); } -int apb_ctrl_fw_flashing (struct device *dev) -{ -return fw_flashing_seq (to_platform_device (dev)); -} - -int apb_ctrl_standby_boot (struct device *dev) -{ -return standby_boot_seq (to_platform_device (dev)); -} -void apb_ctrl_poweroff (struct device *dev) {poweroff_seq (to_platform_device (dev));
drivers/staging/greybus/arche_platform.h +0 -2
@@ -21,8 +21,6 @@ void __exit arche_apb_exit(void);/* Operational states for the APB device */ int apb_ctrl_coldboot (struct device *dev); -int apb_ctrl_fw_flashing (struct device *dev); -int apb_ctrl_standby_boot (struct device *dev);void apb_ctrl_poweroff (struct device *dev);#endif /* __ARCHE_PLATFORM_H */
Signature · 1 line
2.47.3
Greg KH
maintainerQuoted 9 lines · Bruno Martins
These functions were left behind when commit
921dbe52b40b("greybus:
arche-platform: Add support for SPI bus sharing for Mihi") removed their only callers in 2016.Signed-off-by Bruno Martins <[email protected]>--- drivers/staging/greybus/arche-apb-ctrl.c | 10 ---------- drivers/staging/greybus/arche_platform.h | 2 -- 2 files changed, 12 deletions(-)
Does not apply to 7.0-rc1 :(