can: c_can: add LED trigger support
authorFabio Baltieri <[email protected]>
Tue, 18 Dec 2012 17:51:01 +0000 (18:51 +0100)
committerMarc Kleine-Budde <[email protected]>
Sat, 26 Jan 2013 15:59:00 +0000 (16:59 +0100)
commit5090f805600ff7dccca358f9986a92dd34185326
tree357ba36b7b0c9db1cd67f5d278b5cc7656ff44ca
parentd7ff5aae6ce3670afc1e000c08ea238712d70fae
can: c_can: add LED trigger support

Add support for canbus activity led indicators on c_can devices by
calling appropriate can_led functions.

These are only enabled when CONFIG_CAN_LEDS is Y, becomes no-op
otherwise.

Cc: Bhupesh Sharma <[email protected]>
Cc: AnilKumar Ch <[email protected]>
Cc: Wolfgang Grandegger <[email protected]>
Cc: Marc Kleine-Budde <[email protected]>
Signed-off-by: Fabio Baltieri <[email protected]>
Signed-off-by: Marc Kleine-Budde <[email protected]>
drivers/net/can/c_can/c_can.c