[PATCH] staging: greybus: remove unused apb_ctrl_fw_flashing() and apb_ctrl_standby_boot()

Bruno Martins posted 1 patch 5 hours ago
drivers/staging/greybus/arche-apb-ctrl.c | 10 ----------
drivers/staging/greybus/arche_platform.h |  2 --
2 files changed, 12 deletions(-)
[PATCH] staging: greybus: remove unused apb_ctrl_fw_flashing() and apb_ctrl_standby_boot()
Posted by Bruno Martins 5 hours ago
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 <ehanoc@protonmail.com>
---
 drivers/staging/greybus/arche-apb-ctrl.c | 10 ----------
 drivers/staging/greybus/arche_platform.h |  2 --
 2 files changed, 12 deletions(-)

diff --git a/drivers/staging/greybus/arche-apb-ctrl.c b/drivers/staging/greybus/arche-apb-ctrl.c
index 90ab32638d3f..6a50b79bb787 100644
--- a/drivers/staging/greybus/arche-apb-ctrl.c
+++ b/drivers/staging/greybus/arche-apb-ctrl.c
@@ -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));
diff --git a/drivers/staging/greybus/arche_platform.h b/drivers/staging/greybus/arche_platform.h
index 9d997f2d6517..5d0692af2533 100644
--- a/drivers/staging/greybus/arche_platform.h
+++ b/drivers/staging/greybus/arche_platform.h
@@ -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 */
-- 
2.47.3