diff options
| author | David Cohen <[email protected]> | 2014-01-16 23:07:03 +0000 |
|---|---|---|
| committer | H. Peter Anvin <[email protected]> | 2014-01-16 23:06:58 +0000 |
| commit | a957a14bb4ca976cbaaff3594ef5b8f8f7f65804 (patch) | |
| tree | 82130484558a2d76ab139d90df04375742a170d0 /drivers/i2c/algos/i2c-algo-bit.c | |
| parent | x86, intel-mid: sfi_handle_*_dev() should check for pdata error code (diff) | |
| download | kernel-a957a14bb4ca976cbaaff3594ef5b8f8f7f65804.tar.gz kernel-a957a14bb4ca976cbaaff3594ef5b8f8f7f65804.zip | |
x86, intel-mid: Check get_gpio_by_name() error code on platform code
This patch does cleanup on all intel mid platform code that uses
gpio_get_by_name() function. From now on they should check for any error
code instead of only hardcoded -1.
There are no functional changes from this change.
Signed-off-by: David Cohen <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: H. Peter Anvin <[email protected]>
Diffstat (limited to 'drivers/i2c/algos/i2c-algo-bit.c')
0 files changed, 0 insertions, 0 deletions
