Re: [PATCH RESEND] mfd: anatop: permit adata be NULL when accessregister

From: Shawn Guo
Date: Mon Jun 11 2012 - 02:19:35 EST


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@xxxxxxxxxx>
> >
> > 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@xxxxxxxxxxxxx>
> > Cc: Ying-Chun Liu (PaulLiu) <paul.liu@xxxxxxxxxx>

Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/