diff options
author | Jingoo Han <jg1.han@samsung.com> | 2014-01-14 04:19:30 +0400 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2014-01-16 14:15:50 +0400 |
commit | d1ccc125f348ff31dd7954ae718e73ba1c884da9 (patch) | |
tree | 9ea8ac3d16474427851bccc38ba8d7773c426f1f /include/linux/i2c-pnx.h | |
parent | d9a3afc2cfe8dd825cb465b22cf7df8ad204c171 (diff) | |
download | linux-d1ccc125f348ff31dd7954ae718e73ba1c884da9.tar.xz |
i2c: pnx: Use devm_*() functions
Use devm_*() functions to make cleanup paths simpler,
and remove redundant return value check of platform_get_resource()
because the value is checked by devm_ioremap_resource().
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c-pnx.h')
-rw-r--r-- | include/linux/i2c-pnx.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/i2c-pnx.h b/include/linux/i2c-pnx.h index 49ed17fdf055..5388326fbbff 100644 --- a/include/linux/i2c-pnx.h +++ b/include/linux/i2c-pnx.h @@ -31,7 +31,6 @@ struct i2c_pnx_algo_data { int last; struct clk *clk; struct i2c_adapter adapter; - phys_addr_t base; int irq; u32 timeout; }; |