public inbox for linux-staging@lists.linux.dev
 help / color / mirror / Atom feed
From: Bruno Martins <ehanoc@protonmail.com>
To: gregkh@linuxfoundation.org, elder@kernel.org, johan@kernel.org,
	hvaibhav.linux@gmail.com
Cc: greybus-dev@lists.linaro.org, linux-staging@lists.linux.dev,
	linux-kernel@vger.kernel.org,
	Bruno Martins <ehanoc@protonmail.com>
Subject: [PATCH] staging: greybus: remove unused apb_ctrl_fw_flashing() and apb_ctrl_standby_boot()
Date: Sat, 07 Feb 2026 15:10:30 +0000	[thread overview]
Message-ID: <20260207151026.118681-1-ehanoc@protonmail.com> (raw)

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



             reply	other threads:[~2026-02-07 15:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-02-07 15:10 Bruno Martins [this message]
2026-02-23 13:55 ` [PATCH] staging: greybus: remove unused apb_ctrl_fw_flashing() and apb_ctrl_standby_boot() Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260207151026.118681-1-ehanoc@protonmail.com \
    --to=ehanoc@protonmail.com \
    --cc=elder@kernel.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=greybus-dev@lists.linaro.org \
    --cc=hvaibhav.linux@gmail.com \
    --cc=johan@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-staging@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox