]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
i2c: exynos5: use core helper to get driver data
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 24 Feb 2017 13:36:00 +0000 (14:36 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Fri, 21 Apr 2017 12:02:41 +0000 (14:02 +0200)
commitb371f866d9e1eebd6048c644b4a0e78eb951c3b3
tree63e155892af519288bc895f40977c492a1c1293f
parent70c8c4e9bf3b586516b0cd224bb3aed008efc300
i2c: exynos5: use core helper to get driver data

Driver core provides of_device_get_match_data which can be used
to get driver data instead of custom helper.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-exynos5.c