pinctrl: remove unnecessary error check
The file drivers/pinctrl/pinctrl.c is compiled only when
CONFIG_PINCTRL is defined.  "IS_ENABLED(CONFIG_PINCTRL)" is
always evaluated as 1 in this function.
(Although the compiler would optimize it, the source file does
not look nice.)

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 8ed32ae commit f5cb522743a84b2527a95ac3345459d36d1fcbb7
@Masahiro Yamada Masahiro Yamada authored on 31 Jan 2015
Sascha Hauer committed on 2 Feb 2015
Showing 1 changed file
View
drivers/pinctrl/pinctrl.c