Re: [PATCH -next v2] iio: adc: max11100: remove .owner field for driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/02/17 18:27, Jonathan Cameron wrote:
> On 06/02/17 16:41, Wei Yongjun wrote:
>> From: Wei Yongjun <weiyongjun1@xxxxxxxxxx>
>>
>> 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 <weiyongjun1@xxxxxxxxxx>
> 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@xxxxxxxxxxxxxxx
>> 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@xxxxxxxxxxxxxxx
> 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@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux