Commit 58107695 authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Guenter Roeck
Browse files

hwmon: (smsc47m1) Simplify device registration



Use platform_device_register_full() instead of open coding this
function.

Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/ab326fb9b1ad2191583b4cb3a8bd624dfedb908e.1701957841.git.u.kleine-koenig@pengutronix.de


[groeck: Removed double empty line]
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 5c2833c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment