[PATCHv5 2/2] INPUT: Introduce generic trigger/LED pairs to input LEDs

Samuel Thibault samuel.thibault at ens-lyon.org
Thu Jan 22 16:54:24 PST 2015


Dmitry Torokhov, le Thu 22 Jan 2015 16:51:16 -0800, a écrit :
> No. Please take a look at other users of platform data. Platform is the box we 
> are running on, not parent device. Platform data is supposed to be constant,
> not changing between driver runs.

Ok, well, then we can just use to_input_dev(cdev->dev->parent); to
access the input_dev from the led_classdev cdev.

Samuel



More information about the linux-arm-kernel mailing list