Re: [PATCH 3/3] spi: qup: Remove .owner field for driver

From: Mark Brown
Date: Mon Oct 13 2014 - 09:10:52 EST


On Thu, Oct 09, 2014 at 01:12:08PM +0530, Kiran Padwal wrote:
> There is no need to init .owner field.
>
> Based on the patch from Peter Griffin <peter.griffin@xxxxxxxxxx>
> "mmc: remove .owner field for drivers using module_platform_driver"
>
> This patch removes the superfluous .owner field for drivers which
> use the module_platform_driver API, as this is overridden in
> platform_driver_register anyway."

Two problems:
- I'm missing patches 1 and 2.
- This only changes one driver but essentially every SPI driver
initializes .owner - why is only thi sone driver being changed?

Attachment: signature.asc
Description: Digital signature