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

Kalle Valo kvalo at codeaurora.org
Tue Jan 17 03:07:12 PST 2017


Rafał Miłecki <zajec5 at gmail.com> writes:

> 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 allows cleaning up struct bcma_sflash from unneeded fields.
>
> Signed-off-by: Rafał Miłecki <rafal at milecki.pl>
> ---
> Kalle: This is mtd focused patch, so I guess it should go through mtd tree. Do
>        you find bcma change important enough to care to Ack it? :)

Sure :)

Feel free to take the patch via mtd tree, I'm not expecting to see any
conflicts with this patch. For the bcma part:

Acked-by: Kalle Valo <kvalo at codeaurora.org>

-- 
Kalle Valo



More information about the linux-mtd mailing list