Searched hist:"848369926693778 cd0f31bfca7fb951164715b4f" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/mfd/ |
H A D | tps65010.c | diff 848369926693778cd0f31bfca7fb951164715b4f Mon Nov 02 10:52:20 CST 2009 Ben Dooks <ben@simtec.co.uk> 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>
|