]> git.karo-electronics.de Git - linux-beck.git/commit
Staging: iio: light: tsl2x7x_core: use dev_get_platdata()
authorNizam Haider <nizamhaider786@gmail.com>
Mon, 23 Nov 2015 17:48:50 +0000 (23:18 +0530)
committerJonathan Cameron <jic23@kernel.org>
Wed, 2 Dec 2015 18:42:06 +0000 (18:42 +0000)
commita260527f83dfebe7c49bd6582ed6aa1be29f355a
tree76f1a90c8eedf471cce6076d45ba465dce834171
parent22b19ab3e2d6da666be816e649af67bf721b8561
Staging: iio: light: tsl2x7x_core: use dev_get_platdata()

Use the wrapper function for retrieving the platform data instead of
accessing dev->platform_data directly.

Signed-off-by: Nizam Haider <nijamh@cdac.in>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2x7x_core.c