diff options
author | Andy Green <andy@openmoko.com> | 2008-11-21 11:56:56 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-21 11:56:56 +0000 |
commit | 3812c6d2573f42168d4279a2c36fd4dacef31e3f (patch) | |
tree | a71443db3544a45583c2416b96178fd157755233 /drivers | |
parent | 593199453788b435e57207b393a5bfa7f22df605 (diff) |
clean-pcf50633-dust-warnings.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/i2c/chips/pcf50633.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/i2c/chips/pcf50633.c b/drivers/i2c/chips/pcf50633.c index a148be52817..e1594a48963 100644 --- a/drivers/i2c/chips/pcf50633.c +++ b/drivers/i2c/chips/pcf50633.c @@ -1618,9 +1618,6 @@ static int pcf50633_probe(struct i2c_client *client, const struct i2c_device_id dev_info(&client->dev, "probe completed\n"); return 0; -exit_rtc: - if (pcf->pdata->used_features & PCF50633_FEAT_RTC) - rtc_device_unregister(pcf->rtc); exit_irq: free_irq(pcf->irq, pcf); exit_input: @@ -1730,7 +1727,6 @@ static int pcf50633_suspend(struct device *dev, pm_message_t state) struct pcf50633_data *pcf = i2c_get_clientdata(client); int i; int ret; - u_int8_t tmp; u_int8_t res[5]; dev_err(dev, "pcf50633_suspend\n"); @@ -1818,7 +1814,6 @@ static int pcf50633_resume(struct device *dev) struct pcf50633_data *pcf = i2c_get_clientdata(client); int ret; u8 res[5]; - u8 misc[PCF50633_REG_LEDDIM - PCF50633_REG_AUTOOUT + 1]; dev_dbg(dev, "pcf50633_resume suspended on entry = %d\n", (int)pcf->suspend_state); |