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

Rafał Miłecki
2017-01-16T16:12:43Z

On 16 January 2017 at 15:21, Boris Brezillon
<boris.brezillon@free-electrons.com> wrote:
> On Mon, 16 Jan 2017 14:04:09 +0100
> Rafał Miłecki <zajec5@gmail.com> wrote:
>
>> From: Rafał Miłecki <rafal@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ł