leds: leds-gpio: Use platform_{get,set}_drvdata
Use the wrapper functions, so we can directly pass a struct platfrom_device. Signed-off-by: NTobias Klauser <tklauser@distanz.ch> Signed-off-by: NBryan Wu <bryan.wu@canonical.com>
Showing
想要评论请 注册 或 登录