From: Aaron Lu <aaron.lu@intel.com>
To: Tejun Heo <tj@kernel.org>, "Rafael J. Wysocki" <rjw@sisk.pl>,
James Bottomley <James.Bottomley@HansenPartnership.com>
Cc: Jeff Wu <jeff.wu@amd.com>, Shane Huang <shane.huang@amd.com>,
Matthew Garrett <mjg@redhat.com>, Holger Macht <holger@homac.de>,
Aaron Lu <aaron.lu@intel.com>, Zhang Rui <rui.zhang@intel.com>,
linux-ide@vger.kernel.org, linux-acpi@vger.kernel.org,
linux-scsi@vger.kernel.org
Subject: [RFC PATCH 1/2] ata: acpi: remove dead code for ata_acpi_(un)bind
Date: Thu, 25 Jul 2013 13:47:02 +0800 [thread overview]
Message-ID: <1374731223-28685-2-git-send-email-aaron.lu@intel.com> (raw)
In-Reply-To: <1374731223-28685-1-git-send-email-aaron.lu@intel.com>
Commit 7381fe737 "libata-acpi: remove redundent code for power resource
handling" removed ata_acpi_(un)bind but left their prototypes in libata.h,
so remove them.
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
---
drivers/ata/libata.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/drivers/ata/libata.h b/drivers/ata/libata.h
index 577d902b..cc8a6e8 100644
--- a/drivers/ata/libata.h
+++ b/drivers/ata/libata.h
@@ -120,8 +120,6 @@ extern void ata_acpi_on_disable(struct ata_device *dev);
extern void ata_acpi_set_state(struct ata_port *ap, pm_message_t state);
extern int ata_acpi_register(void);
extern void ata_acpi_unregister(void);
-extern void ata_acpi_bind(struct ata_device *dev);
-extern void ata_acpi_unbind(struct ata_device *dev);
extern void ata_acpi_hotplug_init(struct ata_host *host);
#else
static inline void ata_acpi_dissociate(struct ata_host *host) { }
@@ -133,8 +131,6 @@ static inline void ata_acpi_set_state(struct ata_port *ap,
pm_message_t state) { }
static inline int ata_acpi_register(void) { return 0; }
static inline void ata_acpi_unregister(void) { }
-static inline void ata_acpi_bind(struct ata_device *dev) { }
-static inline void ata_acpi_unbind(struct ata_device *dev) { }
static inline void ata_acpi_hotplug_init(struct ata_host *host) {}
#endif
--
1.8.3.2.10.g43d11f4
next prev parent reply other threads:[~2013-07-25 5:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-25 5:47 [RFC PATCH 0/2] Rework ATA ACPI binding code Aaron Lu
2013-07-25 5:47 ` Aaron Lu [this message]
2013-07-25 14:50 ` [RFC PATCH 1/2] ata: acpi: remove dead code for ata_acpi_(un)bind Tejun Heo
2013-07-25 5:47 ` [RFC PATCH 2/2] ata: acpi: rework the ata acpi bind support Aaron Lu
2013-07-25 14:52 ` Tejun Heo
2013-07-26 1:37 ` Aaron Lu
2013-07-26 12:48 ` Rafael J. Wysocki
2013-07-27 6:34 ` Matthew Garrett
2013-08-15 1:33 ` Aaron Lu
2013-08-15 3:19 ` Tejun Heo
2013-08-22 7:15 ` Aaron Lu
2013-08-22 18:36 ` Tejun Heo
2013-08-23 2:17 ` [PATCH " Aaron Lu
2013-08-23 16:11 ` Tejun Heo
2013-08-23 7:02 ` [RFC PATCH " Dirk Griesbach
2013-08-23 7:08 ` Aaron Lu
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=1374731223-28685-2-git-send-email-aaron.lu@intel.com \
--to=aaron.lu@intel.com \
--cc=James.Bottomley@HansenPartnership.com \
--cc=holger@homac.de \
--cc=jeff.wu@amd.com \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mjg@redhat.com \
--cc=rjw@sisk.pl \
--cc=rui.zhang@intel.com \
--cc=shane.huang@amd.com \
--cc=tj@kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.