pinctrl: rockchip: fix crashed issue during pinctrl suspend
authorDavid Wu <wdc@rock-chips.com>
Wed, 28 Oct 2015 23:06:04 +0000 (07:06 +0800)
committerGerrit Code Review <gerrit@rock-chips.com>
Fri, 30 Oct 2015 01:11:59 +0000 (09:11 +0800)
commitd189d8cf8c18f4000a8c6447fd8fa2329ebbdd72
treee09db934c3df9c0b1d1929947e84d4f6c6956187
parent1009af00c3967e82634268a8a3145820aa962d4f
pinctrl: rockchip: fix crashed issue during pinctrl suspend

if the chip was rk3288, it didn't use pinctrl-rk3368.c,
but pinctrl-rockchip.c, driver of pinctrl-rk3368 was not registered.
It would make the NULL pointer at pinctrl-rk3368 suspend func.

Change-Id: I09dd4fb9b8bf001a4222ed9bef62347785b9906f
Signed-off-by: David Wu <wdc@rock-chips.com>
drivers/pinctrl/pinctrl-rk3368.c
drivers/pinctrl/pinctrl-rockchip.c