diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-11-02 16:52:20 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2009-12-13 19:21:34 +0100 |
commit | 848369926693778cd0f31bfca7fb951164715b4f (patch) | |
tree | 33b07b0537fc275ec2eada68c6902219966dfbee /include/linux/i2c | |
parent | 38a684963f619eb9117cb898b92bde92cdd09127 (diff) | |
download | talos-op-linux-848369926693778cd0f31bfca7fb951164715b4f.tar.gz talos-op-linux-848369926693778cd0f31bfca7fb951164715b4f.zip |
mfd: Allow the board to choose any GPIO base for tps65010
If the board does not care where the TPS turns up, then specifiying the
value -1 to get gpiolib to dynamically allocate the base for the chip
is valid.
Change the test to look for != 0, so that any boards specifying zero
will not end up with gpio that they didn't want.
Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Signed-off-by: Simtec Liunx Team <linux@simtec.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/i2c')
0 files changed, 0 insertions, 0 deletions