All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] leds/leds-pca9633.c: remove unused 'adapter' variable
@ 2012-02-08  8:30 Axel Lin
  0 siblings, 0 replies; only message in thread
From: Axel Lin @ 2012-02-08  8:30 UTC (permalink / raw)
  To: linux-kernel; +Cc: Peter Meerwald, Richard Purdie, Andrew Morton

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 drivers/leds/leds-pca9633.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/leds/leds-pca9633.c b/drivers/leds/leds-pca9633.c
index c408ddc..02889bb 100644
--- a/drivers/leds/leds-pca9633.c
+++ b/drivers/leds/leds-pca9633.c
@@ -96,11 +96,9 @@ static int __devinit pca9633_probe(struct i2c_client *client,
 					const struct i2c_device_id *id)
 {
 	struct pca9633_led *pca9633;
-	struct i2c_adapter *adapter;
 	struct led_platform_data *pdata;
 	int i, err;
 
-	adapter = to_i2c_adapter(client->dev.parent);
 	pdata = client->dev.platform_data;
 
 	if (pdata) {
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-02-08  8:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-08  8:30 [PATCH] leds/leds-pca9633.c: remove unused 'adapter' variable Axel Lin

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.