[PATCH] mtd: bcm47xxsflash: use platform_(set|get)_drvdata

Rafał Miłecki zajec5 at gmail.com
Mon Jan 16 08:12:19 PST 2017


On 16 January 2017 at 15:21, Boris Brezillon
<boris.brezillon at free-electrons.com> wrote:
> On Mon, 16 Jan 2017 14:04:09 +0100
> Rafał Miłecki <zajec5 at gmail.com> wrote:
>
>> From: Rafał Miłecki <rafal at milecki.pl>
>>
>> We have generic place & helpers for storing platform driver data so
>> there is no reason for using custom priv pointer.
>>
>> This patch will be followed by cleaning struct bcma_sflash which will go
>> through another tree where bcma development happens.
>
> Why not removing the ->priv field from the bcma_sflash struct
> definition in this patch?
> If it needs to go through a different tree we can ack the patch and let
> the other maintainer(s) take the whole series.

I can try that. As this will be more mtd-focused, I guess I should
rather get Kalle's ack. I'll work on that.

-- 
Rafał



More information about the linux-mtd mailing list