From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Gao Subject: Re: [PATCH] gpio: add Intel WhiskeyCove GPIO driver Date: Tue, 14 Jun 2016 16:39:27 -0700 Message-ID: <20160614233927.GA25061@worksta> References: <20160611060150.GA88066@worksta> <20160614100931.GJ1740@lahna.fi.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mga14.intel.com ([192.55.52.115]:58847 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751190AbcFNXfo (ORCPT ); Tue, 14 Jun 2016 19:35:44 -0400 Content-Disposition: inline In-Reply-To: <20160614100931.GJ1740@lahna.fi.intel.com> Sender: linux-gpio-owner@vger.kernel.org List-Id: linux-gpio@vger.kernel.org To: Mika Westerberg Cc: Linus Walleij , Alexandre Courbot , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, Ajay Thomas , Bin Gao On Tue, Jun 14, 2016 at 01:09:31PM +0300, Mika Westerberg wrote: > On Fri, Jun 10, 2016 at 11:01:51PM -0700, Bin Gao wrote: > > +static const struct platform_device_id pmic_gpio_id_table[] = { > > + { "bxt_wcove_gpio", }, > > +}; > > Do you really need this? > > > + > > +static struct platform_driver wcove_gpio_driver = { > > + .probe = wcove_gpio_probe, > > + .remove = wcove_gpio_remove, > > + .driver = { > > + .name = "wcove_gpio", > > + }, > > + .id_table = pmic_gpio_id_table, > > and this? > > > +}; > > + > > +module_platform_driver(wcove_gpio_driver); > > + > > +MODULE_AUTHOR("Ajay Thomas "); > > +MODULE_DESCRIPTION("Intel Whiskey Cove GPIO Driver"); > > +MODULE_LICENSE("GPL v2"); > > You can add > > MODULE_ALIAS("platform:wcove_gpio"); > > to get the module loaded automatically. Mika, Thanks for your review. I'll address these in patch v2. -Bin