[PATCH] i2c: mediatek: use of_device_get_match_data()

Wolfram Sang wsa at the-dreams.de
Sat Apr 28 06:12:27 PDT 2018


On Mon, Apr 16, 2018 at 10:32:52AM +0800, Ryder Lee wrote:
> The usage of of_device_get_match_data() reduce the code size a bit.
> 
> Also, the only way to call mtk_i2c_probe() is to match an entry in
> mtk_i2c_of_match[], so of_id cannot be NULL.
> 
> Signed-off-by: Ryder Lee <ryder.lee at mediatek.com>

Applied to for-next, thanks!

Does somebody from Mediatek maybe want to maintain this driver?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20180428/168eb78c/attachment.sig>


More information about the linux-arm-kernel mailing list