commit | f0eb824beee3f596b9799e667a6fdac3116e9f7d | [log] [tgz] |
---|---|---|
author | Wolfram Sang <w.sang@pengutronix.de> | Fri Oct 14 15:31:59 2011 +0200 |
committer | Grant Likely <grant.likely@secretlab.ca> | Sat Oct 29 12:26:29 2011 +0200 |
tree | 06d1247aad91c4b883a3e760881917485188ae1a | |
parent | d92ef29a6fa971d9e314e412cd9c09757906411a [diff] |
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>