From mboxrd@z Thu Jan 1 00:00:00 1970 From: shawn.guo@linaro.org (Shawn Guo) Date: Mon, 11 Jun 2012 14:19:28 +0800 Subject: [PATCH RESEND] mfd: anatop: permit adata be NULL when access register In-Reply-To: <20120604021315.GB2857@b20223-02.ap.freescale.net> References: <1338774989-4416-1-git-send-email-richard.zhao@freescale.com> <20120604021315.GB2857@b20223-02.ap.freescale.net> Message-ID: <20120611061925.GC2552@S2101-09.ap.freescale.net> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org 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 > > > > 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 > > Cc: Ying-Chun Liu (PaulLiu) Acked-by: Shawn Guo