Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:39710 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753171AbdCFWll (ORCPT ); Mon, 6 Mar 2017 17:41:41 -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> <139cb721-c851-0b95-ca94-452874081708@kernel.org> Cc: Wei Yongjun , linux-iio@vger.kernel.org From: Jonathan Cameron Message-ID: <99da4692-d148-a9aa-6ece-d84b037d806e@kernel.org> Date: Mon, 6 Mar 2017 22:33:16 +0000 MIME-Version: 1.0 In-Reply-To: <139cb721-c851-0b95-ca94-452874081708@kernel.org> 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 18:27, Jonathan Cameron wrote: > 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 Something went wrong that day and this didn't actually end up in the tree. Have just applied it again. Thanks, Jonathan > > 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 >> > > -- > 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 >