GPIO: tca642x: Rework to not include commands in SPL
authorTom Rini <trini@konsulko.com>
Wed, 3 Jan 2018 14:24:24 +0000 (09:24 -0500)
committerTom Rini <trini@konsulko.com>
Fri, 19 Jan 2018 20:49:29 +0000 (15:49 -0500)
commitbb2277b3ee163de41f3e6f41bec24624f7f41f80
treea739356e31cb8b15d9ff254e2761b08aaaa1cc91
parent0d097b774d5a3470bea32bc702c45bd843cd9378
GPIO: tca642x: 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: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
drivers/gpio/tca642x.c