aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/i2c-pnx.h
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2014-01-14 09:19:30 +0900
committerWolfram Sang <wsa@the-dreams.de>2014-01-16 11:15:50 +0100
commitd1ccc125f348ff31dd7954ae718e73ba1c884da9 (patch)
tree9ea8ac3d16474427851bccc38ba8d7773c426f1f /include/linux/i2c-pnx.h
parenti2c: at91: add a new compatibility string for the at91sam9261 (diff)
downloadlinux-dev-d1ccc125f348ff31dd7954ae718e73ba1c884da9.tar.xz
linux-dev-d1ccc125f348ff31dd7954ae718e73ba1c884da9.zip
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.h1
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;
};