gpio: pca953x: remove unneeded check for chip type
authorWolfram Sang <w.sang@pengutronix.de>
Fri, 14 Oct 2011 13:31:59 +0000 (15:31 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 29 Oct 2011 10:26:29 +0000 (12:26 +0200)
commitf0eb824beee3f596b9799e667a6fdac3116e9f7d
tree06d1247aad91c4b883a3e760881917485188ae1a
parentd92ef29a6fa971d9e314e412cd9c09757906411a
gpio: pca953x: remove unneeded check for chip type

We can assume our own device_id table is correct, so remove checking if
the chip type is valid. (The check was bogus anyway: If it found an
invalid entry, it returned with 0!) This is in preparation for further
cleanups.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Cc: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-pca953x.c