[PATCH] pinctrl or i2c-s3c2410: fix pinctrl NULL return values in stubs

2013-02-23 Thread Heiko Stübner
Hi, while implementing devicetree support for the s3c2416 I noticed a fault in the i2c-s3c2410 driver. The s3c2416 does not support pinctrl at the moment (and will probably for a while), so the fallback functions in pinctrl/consumer.h were used. These functions fail silently and the relevant

[PATCH] pinctrl or i2c-s3c2410: fix pinctrl NULL return values in stubs

2013-02-23 Thread Heiko Stübner
Hi, while implementing devicetree support for the s3c2416 I noticed a fault in the i2c-s3c2410 driver. The s3c2416 does not support pinctrl at the moment (and will probably for a while), so the fallback functions in pinctrl/consumer.h were used. These functions fail silently and the relevant