From d1ccc125f348ff31dd7954ae718e73ba1c884da9 Mon Sep 17 00:00:00 2001 From: Jingoo Han Date: Tue, 14 Jan 2014 09:19:30 +0900 Subject: 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 Signed-off-by: Wolfram Sang --- include/linux/i2c-pnx.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/linux/i2c-pnx.h') 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; }; -- cgit v1.2.3