RE: [PATCH 05/15] mei: make device_type const

2017-08-19 Thread Winkler, Tomas
> Subject: [PATCH 05/15] mei: make device_type const > > Make this const as it is only stored in the type field of a device structure, > which is const. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal > --- > drivers/misc/mei/bus.c | 2 +- > 1 f

[PATCH 05/15] mei: make device_type const

2017-08-19 Thread Bhumika Goyal
Make this const as it is only stored in the type field of a device structure, which is const. Done using Coccinelle. Signed-off-by: Bhumika Goyal --- drivers/misc/mei/bus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/misc/mei/bus.c b/drivers/misc/mei/bus.c index 4