public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator: Remove unused i2c variable in s5m8767_pmic_probe
@ 2012-03-07  2:02 Axel Lin
  2012-03-07  3:58 ` Sangbeom Kim
  2012-03-07 19:20 ` Mark Brown
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2012-03-07  2:02 UTC (permalink / raw)
  To: linux-kernel; +Cc: Sangbeom Kim, Liam Girdwood, Mark Brown

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

diff --git a/drivers/regulator/s5m8767.c b/drivers/regulator/s5m8767.c
index 9b97aa3..e369d9e 100644
--- a/drivers/regulator/s5m8767.c
+++ b/drivers/regulator/s5m8767.c
@@ -542,7 +542,6 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
 	struct s5m_platform_data *pdata = dev_get_platdata(iodev->dev);
 	struct regulator_dev **rdev;
 	struct s5m8767_info *s5m8767;
-	struct i2c_client *i2c;
 	int i, ret, size;
 
 	if (!pdata) {
@@ -565,7 +564,6 @@ static __devinit int s5m8767_pmic_probe(struct platform_device *pdev)
 	s5m8767->iodev = iodev;
 	s5m8767->num_regulators = S5M8767_REG_MAX - 2;
 	platform_set_drvdata(pdev, s5m8767);
-	i2c = s5m8767->iodev->i2c;
 
 	s5m8767->buck_gpioindex = pdata->buck_default_idx;
 	s5m8767->buck2_gpiodvs = pdata->buck2_gpiodvs;
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* RE: [PATCH] regulator: Remove unused i2c variable in s5m8767_pmic_probe
  2012-03-07  2:02 [PATCH] regulator: Remove unused i2c variable in s5m8767_pmic_probe Axel Lin
@ 2012-03-07  3:58 ` Sangbeom Kim
  2012-03-07 19:20 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Sangbeom Kim @ 2012-03-07  3:58 UTC (permalink / raw)
  To: 'Axel Lin', linux-kernel
  Cc: 'Liam Girdwood', 'Mark Brown'

On Mon, Mar 07, 2012 at 11:02 AM, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
>  drivers/regulator/s5m8767.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)

Acked-by: Sangbeom Kim <sbkim73@samsung.com>

Thanks,
Sangbeom.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] regulator: Remove unused i2c variable in s5m8767_pmic_probe
  2012-03-07  2:02 [PATCH] regulator: Remove unused i2c variable in s5m8767_pmic_probe Axel Lin
  2012-03-07  3:58 ` Sangbeom Kim
@ 2012-03-07 19:20 ` Mark Brown
  1 sibling, 0 replies; 3+ messages in thread
From: Mark Brown @ 2012-03-07 19:20 UTC (permalink / raw)
  To: Axel Lin; +Cc: linux-kernel, Sangbeom Kim, Liam Girdwood

[-- Attachment #1: Type: text/plain, Size: 123 bytes --]

On Wed, Mar 07, 2012 at 10:02:12AM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>

Applied, thanks.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-03-07 19:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-07  2:02 [PATCH] regulator: Remove unused i2c variable in s5m8767_pmic_probe Axel Lin
2012-03-07  3:58 ` Sangbeom Kim
2012-03-07 19:20 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox