can: c_can: Adopt pinctrl support
authorAnilKumar Ch <anilkumar@ti.com>
Wed, 5 Sep 2012 11:12:41 +0000 (16:42 +0530)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 21 Sep 2012 21:58:48 +0000 (23:58 +0200)
commit006cd138fc8813220cb4b6450bd9b44f3401bb89
treedfb2c24f4f7cb784ba7f457a4ede66dd0f255005
parent8212003260c600b9b55a79634fb29d0f7ec813d9
can: c_can: Adopt pinctrl support

Adopt pinctrl support to c_can driver based on c_can device
pointer, pinctrl driver configure SoC pins to d_can mode
according to definitions provided in .dts file.

In device specific device tree file 'pinctrl-names = "default";'
and 'pinctrl-0 = <&d_can1_pins>;' needs to add to configure pins
from c_can driver. d_can1_pins node contains the pinmux/config
details of d_can L/H pins.

Signed-off-by: AnilKumar Ch <anilkumar@ti.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can_platform.c