GPIO: pca953x: Rework to not include commands in SPL
authorTom Rini <trini@konsulko.com>
Wed, 3 Jan 2018 14:23:14 +0000 (09:23 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:29 +0000 (15:49 -0500)
commit0d097b774d5a3470bea32bc702c45bd843cd9378
tree0d5cfb47b07eb1675cc5e39e54147074f00cd512
parent7e37a884655e704b78ee1ca783566c307f9b9995
GPIO: pca953x: Rework to not include commands in SPL

The command portion of the GPIO driver can only be used in full SPL so
re-work to guard the command related portions and mark it as static.

Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/gpio/pca953x.c