i2c_device_id are not supposed to change at runtime. All functions
working with i2c_device_id provided by work with
const i2c_device_id. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
---
drivers/hwmon/ftsteutates.c | 2 +-
1 file chan
yes, Sorry for noise. After rebase, it' was showing unchanged.
On Wednesday 09 August 2017 07:35 AM, Guenter Roeck wrote:
On Mon, Aug 07, 2017 at 03:06:29PM +0530, Arvind Yadav wrote:
attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided
attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by work with
const attribute_group. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
---
change in v2:
subject was not c
Hi,
On Monday 07 August 2017 02:55 PM, Jean Delvare wrote:
Hi Arvind,
On lun., 2017-08-07 at 11:49 +0530, Arvind Yadav wrote:
attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by work with
const attribute_group. So mark the non-const
attribute_group are not supposed to change at runtime. All functions
working with attribute_group provided by work with
const attribute_group. So mark the non-const structs as const.
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
---
drivers/hwmon/adt7475.c | 16 -
/hwmon/i5k_amb.o
File size After adding 'const':
textdata bss dec hex filename
3658 224 83890 f32 drivers/hwmon/i5k_amb.o
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
---
drivers/hwmon/i5k_amb.c | 2 +-
1 file changed, 1 insertion(+), 1 de
drivers/hwmon/adt7475.o
File size After adding 'const':
textdata bss dec hex filename
105676520 0 1708742bf drivers/hwmon/adt7475.o
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
---
drivers/hwmon/adt7475.c | 16
1 file chan
drivers/hwmon/adc128d818.o
File size After adding 'const':
textdata bss dec hex filename
23442872 052161460 drivers/hwmon/adc128d818.o
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
---
drivers/hwmon/adc128d818.c | 2 +-
1 file changed, 1 ins
drivers/hwmon/hwmon.o
File size After adding 'const':
textdata bss dec hex filename
6703 240 069431b1f drivers/hwmon/hwmon.o
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
---
drivers/hwmon/nct7802.c | 10 +-
1 file changed, 5 insertions
drivers/hwmon/hwmon.o
File size After adding 'const':
textdata bss dec hex filename
6703 240 069431b1f drivers/hwmon/hwmon.o
Signed-off-by: Arvind Yadav <arvind.yadav...@gmail.com>
---
drivers/hwmon/hwmon.c | 2 +-
1 file changed, 1 insertion(+), 1 de
10 matches
Mail list logo