All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] power_supply: Fix annotation for s3c_adc_battery_probe()
@ 2011-05-24 10:46 Mark Brown
  2011-05-24 11:36 ` Vasily Khoruzhick
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2011-05-24 10:46 UTC (permalink / raw)
  To: Anton Vorontsov, Vasily Khoruzhick; +Cc: linux-kernel, Mark Brown

A probe() function is used at device init time rather than system init time.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
 drivers/power/s3c_adc_battery.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/power/s3c_adc_battery.c b/drivers/power/s3c_adc_battery.c
index d36c289..a675e31 100644
--- a/drivers/power/s3c_adc_battery.c
+++ b/drivers/power/s3c_adc_battery.c
@@ -266,7 +266,7 @@ static irqreturn_t s3c_adc_bat_charged(int irq, void *dev_id)
 	return IRQ_HANDLED;
 }
 
-static int __init s3c_adc_bat_probe(struct platform_device *pdev)
+static int __devinit s3c_adc_bat_probe(struct platform_device *pdev)
 {
 	struct s3c_adc_client	*client;
 	struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data;
-- 
1.7.5.1


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

* Re: [PATCH] power_supply: Fix annotation for s3c_adc_battery_probe()
  2011-05-24 10:46 [PATCH] power_supply: Fix annotation for s3c_adc_battery_probe() Mark Brown
@ 2011-05-24 11:36 ` Vasily Khoruzhick
  2011-05-24 19:19   ` Anton Vorontsov
  0 siblings, 1 reply; 3+ messages in thread
From: Vasily Khoruzhick @ 2011-05-24 11:36 UTC (permalink / raw)
  To: Mark Brown; +Cc: Anton Vorontsov, linux-kernel

On Tuesday 24 May 2011 13:46:02 Mark Brown wrote:
> A probe() function is used at device init time rather than system init
> time.
> 
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>

Acked-by: Vasily Khoruzhick <anarsoul@gmail.com>

> ---
>  drivers/power/s3c_adc_battery.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/power/s3c_adc_battery.c
> b/drivers/power/s3c_adc_battery.c index d36c289..a675e31 100644
> --- a/drivers/power/s3c_adc_battery.c
> +++ b/drivers/power/s3c_adc_battery.c
> @@ -266,7 +266,7 @@ static irqreturn_t s3c_adc_bat_charged(int irq, void
> *dev_id) return IRQ_HANDLED;
>  }
> 
> -static int __init s3c_adc_bat_probe(struct platform_device *pdev)
> +static int __devinit s3c_adc_bat_probe(struct platform_device *pdev)
>  {
>  	struct s3c_adc_client	*client;
>  	struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data;

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

* Re: [PATCH] power_supply: Fix annotation for s3c_adc_battery_probe()
  2011-05-24 11:36 ` Vasily Khoruzhick
@ 2011-05-24 19:19   ` Anton Vorontsov
  0 siblings, 0 replies; 3+ messages in thread
From: Anton Vorontsov @ 2011-05-24 19:19 UTC (permalink / raw)
  To: Vasily Khoruzhick; +Cc: Mark Brown, linux-kernel

On Tue, May 24, 2011 at 02:36:00PM +0300, Vasily Khoruzhick wrote:
> On Tuesday 24 May 2011 13:46:02 Mark Brown wrote:
> > A probe() function is used at device init time rather than system init
> > time.
> > 
> > Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> 
> Acked-by: Vasily Khoruzhick <anarsoul@gmail.com>

Applied, thank you!

> > ---
> >  drivers/power/s3c_adc_battery.c |    2 +-
> >  1 files changed, 1 insertions(+), 1 deletions(-)
> > 
> > diff --git a/drivers/power/s3c_adc_battery.c
> > b/drivers/power/s3c_adc_battery.c index d36c289..a675e31 100644
> > --- a/drivers/power/s3c_adc_battery.c
> > +++ b/drivers/power/s3c_adc_battery.c
> > @@ -266,7 +266,7 @@ static irqreturn_t s3c_adc_bat_charged(int irq, void
> > *dev_id) return IRQ_HANDLED;
> >  }
> > 
> > -static int __init s3c_adc_bat_probe(struct platform_device *pdev)
> > +static int __devinit s3c_adc_bat_probe(struct platform_device *pdev)
> >  {
> >  	struct s3c_adc_client	*client;
> >  	struct s3c_adc_bat_pdata *pdata = pdev->dev.platform_data;

-- 
Anton Vorontsov
Email: cbouatmailru@gmail.com

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

end of thread, other threads:[~2011-05-24 19:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-24 10:46 [PATCH] power_supply: Fix annotation for s3c_adc_battery_probe() Mark Brown
2011-05-24 11:36 ` Vasily Khoruzhick
2011-05-24 19:19   ` Anton Vorontsov

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.