From: Felipe Balbi <balbi@ti.com>
To: Tony Lindgren <tony@atomide.com>
Cc: Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
Felipe Balbi <balbi@ti.com>
Subject: [PATCH 2/6] arm: omap1: fix compile warning
Date: Tue, 15 Feb 2011 14:49:12 +0200 [thread overview]
Message-ID: <1297774156-23312-3-git-send-email-balbi@ti.com> (raw)
In-Reply-To: <1297774156-23312-1-git-send-email-balbi@ti.com>
Fix the following compile warning:
arch/arm/mach-omap1/board-palmte.c:233:13: warning:
'palmte_headphones_detect' defined but not used
Signed-off-by: Felipe Balbi <balbi@ti.com>
---
arch/arm/mach-omap1/board-palmte.c | 13 -------------
1 files changed, 0 insertions(+), 13 deletions(-)
diff --git a/arch/arm/mach-omap1/board-palmte.c b/arch/arm/mach-omap1/board-palmte.c
index fb51ce6..c9d38f4 100644
--- a/arch/arm/mach-omap1/board-palmte.c
+++ b/arch/arm/mach-omap1/board-palmte.c
@@ -230,19 +230,6 @@ static struct spi_board_info palmte_spi_info[] __initdata = {
},
};
-static void palmte_headphones_detect(void *data, int state)
-{
- if (state) {
- /* Headphones connected, disable speaker */
- gpio_set_value(PALMTE_SPEAKER_GPIO, 0);
- printk(KERN_INFO "PM: speaker off\n");
- } else {
- /* Headphones unplugged, re-enable speaker */
- gpio_set_value(PALMTE_SPEAKER_GPIO, 1);
- printk(KERN_INFO "PM: speaker on\n");
- }
-}
-
static void __init palmte_misc_gpio_setup(void)
{
/* Set TSC2102 PINTDAV pin as input (used by TSC2102 driver) */
--
1.7.4.rc2
next prev parent reply other threads:[~2011-02-15 12:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-15 12:49 [PATCH 0/6] trivial compile warning fixes Felipe Balbi
2011-02-15 12:49 ` [PATCH 1/6] arm: omap: i2c: fix compile warning Felipe Balbi
2011-02-15 12:49 ` Felipe Balbi [this message]
2011-02-15 12:49 ` [PATCH 3/6] arm: omap1: fix compile warnings Felipe Balbi
2011-02-15 12:49 ` [PATCH 4/6] arm: omap1: fix a bunch of section mismatches Felipe Balbi
2011-02-15 12:49 ` [PATCH 5/6] arm: omap2: irq: fix compile warning: Felipe Balbi
2011-02-15 12:49 ` [PATCH 6/6] arm: omap2: clksel: fix compile warning Felipe Balbi
2011-02-15 18:33 ` Paul Walmsley
2011-02-16 17:30 ` [PATCH 0/6] trivial compile warning fixes Tony Lindgren
2011-02-16 19:48 ` Felipe Balbi
2011-02-17 1:50 ` Tony Lindgren
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=1297774156-23312-3-git-send-email-balbi@ti.com \
--to=balbi@ti.com \
--cc=linux-omap@vger.kernel.org \
--cc=tony@atomide.com \
/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