public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: Jingoo Han <jg1.han@samsung.com>
Cc: "'Anton Vorontsov'" <anton@enomsg.org>,
	"'David Woodhouse'" <dwmw2@infradead.org>,
	linux-kernel@vger.kernel.org,
	"'Hongbo Zhang'" <hongbo.zhang@linaro.org>,
	"'Marcus Cooper'" <marcus.xm.cooper@stericsson.com>
Subject: Re: [PATCH 3/8] ab8500_bm: remove unnecessary platform_set_drvdata()
Date: Tue, 7 May 2013 09:15:29 +0100	[thread overview]
Message-ID: <20130507081529.GB3102@gmail.com> (raw)
In-Reply-To: <003801ce4a11$0259c4a0$070d4de0$@samsung.com>

On Mon, 06 May 2013, Jingoo Han wrote:

> The driver core clears the driver data to NULL after device_release
> or on probe failure, since commit 0998d0631001288a5974afc0b2a5f568bcdecb4d
> (device-core: Ensure drvdata = NULL when no driver is bound).
> Thus, it is not needed to manually clear the device driver data to NULL.
> 
> Signed-off-by: Jingoo Han <jg1.han@samsung.com>
> ---
>  drivers/power/ab8500_btemp.c    |    1 -
>  drivers/power/ab8500_charger.c  |    2 --
>  drivers/power/ab8500_fg.c       |    1 -
>  drivers/power/abx500_chargalg.c |    1 -
>  4 files changed, 0 insertions(+), 5 deletions(-)

Acked-by: Lee Jones <lee.jones@linaro.org>

-- 
Lee Jones
Linaro ST-Ericsson Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

      reply	other threads:[~2013-05-07  8:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-06  4:20 [PATCH 3/8] ab8500_bm: remove unnecessary platform_set_drvdata() Jingoo Han
2013-05-07  8:15 ` Lee Jones [this message]

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=20130507081529.GB3102@gmail.com \
    --to=lee.jones@linaro.org \
    --cc=anton@enomsg.org \
    --cc=dwmw2@infradead.org \
    --cc=hongbo.zhang@linaro.org \
    --cc=jg1.han@samsung.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcus.xm.cooper@stericsson.com \
    /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