From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxime Ripard Subject: Re: [PATCH 3/6] pinctrl: sunxi: Add H3 PIO controller support Date: Sat, 9 May 2015 14:19:36 +0200 Message-ID: <20150509121936.GW11057@lukather> References: <1430904693-1404-1-git-send-email-jenskuske@gmail.com> <1430904693-1404-4-git-send-email-jenskuske@gmail.com> <1430986247.8171.37.camel@x220> <554DD0BF.9080108@gmail.com> Reply-To: maxime.ripard-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fCmRXBY78W5odcVA" Return-path: Content-Disposition: inline In-Reply-To: <554DD0BF.9080108-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Jens Kuske Cc: Paul Bolle , Emilio =?iso-8859-1?Q?L=F3pez?= , Mike Turquette , Linus Walleij , Vinod Koul , Rob Herring , Chen-Yu Tsai , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sunxi-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-Id: devicetree@vger.kernel.org --fCmRXBY78W5odcVA Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline On Sat, May 09, 2015 at 11:17:51AM +0200, Jens Kuske wrote: > >> +MODULE_DEVICE_TABLE(of, sun8i_h3_pinctrl_match); > > > >> +MODULE_AUTHOR("Jens Kuske "); > >> +MODULE_DESCRIPTION("Allwinner H3 pinctrl driver"); > >> +MODULE_LICENSE("GPL"); > > > > This adds some module specific boilerplate. Was it perhaps your > > intention to make PINCTRL_SUN8I_H3 a tristate symbol? > > > > I don't know to be honest, I just followed the pattern of all the other > pinctrl-sun?i-*.c files. But it sounds logical that this is needless > in the current state. > > Looks like it got introduced when splitting up the driver: > http://lists.infradead.org/pipermail/linux-arm-kernel/2014-April/251712.html > > Maybe there were plans to use separate modules some day. If not, we > should remove it from the other files as well I guess. Maxime, could > you please comment on that? I don't see anything wrong with building those as modules. Maxime -- Maxime Ripard, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com --fCmRXBY78W5odcVA--