Skip to contentSkip to conversation

regulator: tps6507x - remove incorrect comments

PATCH Applied Axel Lin 3 participants 3 messages Aug 14, 2010 – Aug 18, 2010 Voltage and current regulator framework

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 regulator: tps6507x - remove incorrect comments

This driver is a platform driver, not a i2c driver. Thus remove incorrect tps6507x_remove comments.

---
 drivers/regulator/tps6507x-regulator.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
drivers/regulator/tps6507x-regulator.c +0 -6
index c239f42..020f587 100644
@@ -626,12 +626,6 @@ fail:
 	return error;
 }
 
-/**
- * tps6507x_remove - TPS6507x driver i2c remove handler
- * @client: i2c driver client device structure
- *
- * Unregister TPS driver as an i2c client device driver
- */
 static int __devexit tps6507x_pmic_remove(struct platform_device *pdev)
 {
 	struct tps6507x_dev *tps6507x_dev = platform_get_drvdata(pdev);
Signature · 1 line
1.7.0.4
#2 lore raw
In reply to Axel Lin
Quoted 15 lines · Axel Lin

This driver is a platform driver, not a i2c driver. Thus remove incorrect tps6507x_remove comments.

---
 drivers/regulator/tps6507x-regulator.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
drivers/regulator/tps6507x-regulator.c +0 -0
index c239f42..020f587 100644
@@ -626,12 +626,6 @@ fail:
 	return error;
 }

drivers/regulator/tps6507x-regulator.c fail: · line 631

Quoted 10 lines
drivers/regulator/tps6507x-regulator.c +0 -6
 
-/**
- * tps6507x_remove - TPS6507x driver i2c remove handler
- * @client: i2c driver client device structure
- *
- * Unregister TPS driver as an i2c client device driver
- */
 static int __devexit tps6507x_pmic_remove(struct platform_device *pdev)
 {
 	struct tps6507x_dev *tps6507x_dev = platform_get_drvdata(pdev);

Applied.

Thanks

Liam

Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk