Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:43536 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751920AbdBFS1s (ORCPT ); Mon, 6 Feb 2017 13:27:48 -0500 Subject: Re: [PATCH -next v2] iio: adc: max11100: remove .owner field for driver To: Wei Yongjun , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Phil Reid , Rob Herring , Jacopo Mondi References: <20170206162445.15956-1-weiyj.lk@gmail.com> <20170206164142.25864-1-weiyj.lk@gmail.com> Cc: Wei Yongjun , linux-iio@vger.kernel.org From: Jonathan Cameron Message-ID: <139cb721-c851-0b95-ca94-452874081708@kernel.org> Date: Mon, 6 Feb 2017 18:27:45 +0000 MIME-Version: 1.0 In-Reply-To: <20170206164142.25864-1-weiyj.lk@gmail.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 06/02/17 16:41, Wei Yongjun wrote: > From: Wei Yongjun > > Remove .owner field if calls are used which set it automatically. > > Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci > > Signed-off-by: Wei Yongjun Applied to the togreg branch of iio.git Thanks, Jonathan > --- > drivers/iio/adc/max11100.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/iio/adc/max11100.c b/drivers/iio/adc/max11100.c > index a088cf9..23c060e 100644 > --- a/drivers/iio/adc/max11100.c > +++ b/drivers/iio/adc/max11100.c > @@ -167,7 +167,6 @@ MODULE_DEVICE_TABLE(of, max11100_ids); > static struct spi_driver max11100_driver = { > .driver = { > .name = "max11100", > - .owner = THIS_MODULE, > .of_match_table = of_match_ptr(max11100_ids), > }, > .probe = max11100_probe, > > -- > To unsubscribe from this list: send the line "unsubscribe linux-iio" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >