Skip to contentSkip to conversation

staging: greybus: remove unused apb_ctrl_fw_flashing() and apb_ctrl_standby_boot()

PATCH In review Bruno Martins 2 participants 2 messages Feb 7 – Feb 23

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

---
 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
index 90ab32638d3f..6a50b79bb787 100644
@@ -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
index 9d997f2d6517..5d0692af2533 100644
@@ -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
maintainer
#1 lore raw
Quoted 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.

---
 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 :(