From: Vasily Khoruzhick <anarsoul@gmail.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Anton Vorontsov <cbouatmailru@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] power_supply: Fix annotation for s3c_adc_battery_probe()
Date: Tue, 24 May 2011 14:36:00 +0300 [thread overview]
Message-ID: <201105241436.01179.anarsoul@gmail.com> (raw)
In-Reply-To: <1306233962-7283-1-git-send-email-broonie@opensource.wolfsonmicro.com>
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;
next prev parent reply other threads:[~2011-05-24 11:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-24 10:46 [PATCH] power_supply: Fix annotation for s3c_adc_battery_probe() Mark Brown
2011-05-24 11:36 ` Vasily Khoruzhick [this message]
2011-05-24 19:19 ` Anton Vorontsov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201105241436.01179.anarsoul@gmail.com \
--to=anarsoul@gmail.com \
--cc=broonie@opensource.wolfsonmicro.com \
--cc=cbouatmailru@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox