[PATCH RESEND] mfd: anatop: permit adata be NULL when access register
shawn.guo at linaro.org
Mon Jun 11 02:19:28 EDT 2012
On Mon, Jun 04, 2012 at 10:13:16AM +0800, Richard Zhao wrote:
> Cc Paul's other mail address.
> On Mon, Jun 04, 2012 at 09:56:29AM +0800, Richard Zhao wrote:
> > From: Richard Zhao <richard.zhao at linaro.org>
> > It makes anatop register access easier. Anatop has many misc registers,
> > which may not be a specific driver.
> > There's only one anatop device for a running system, so we use a global
> > variable to store struct anatop.
> > Signed-off-by: Richard Zhao <richard.zhao at freescale.com>
> > Cc: Ying-Chun Liu (PaulLiu) <paul.liu at linaro.org>
Acked-by: Shawn Guo <shawn.guo at linaro.org>
More information about the linux-arm-kernel