[PATCH] [media] rc/keymaps: Add helper macro for rc_map_list boilerplate

2015-07-11 Thread Vaishali Thakkar
-by: Vaishali Thakkar vthakkar1...@gmail.com --- include/media/rc-map.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/media/rc-map.h b/include/media/rc-map.h index 27763d5..07e765d 100644 --- a/include/media/rc-map.h +++ b/include/media/rc-map.h @@ -96,6 +96,16 @@ struct

[PATCH] [media] pctv452e: Replace memset with eth_zero_addr

2015-06-25 Thread Vaishali Thakkar
is as follows: // smpl @eth_zero_addr@ expression e; @@ -memset(e,0x00,6); +eth_zero_addr(e); // /smpl Signed-off-by: Vaishali Thakkar vthakkar1...@gmail.com --- drivers/media/usb/dvb-usb/pctv452e.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/usb/dvb-usb/pctv452e.c

[PATCH] [media] ttpci: Replace memset with eth_zero_addr

2015-06-25 Thread Vaishali Thakkar
is as follows: // smpl @eth_zero_addr@ expression e; @@ -memset(e,0x00,6); +eth_zero_addr(e); // /smpl Signed-off-by: Vaishali Thakkar vthakkar1...@gmail.com --- drivers/media/pci/ttpci/budget-av.c| 2 +- drivers/media/pci/ttpci/ttpci-eeprom.c | 5 +++-- 2 files changed, 4 insertions(+), 3

[PATCH] [media] dvb_core: Replace memset with eth_zero_addr

2015-06-19 Thread Vaishali Thakkar
Signed-off-by: Vaishali Thakkar vthakkar1...@gmail.com --- drivers/media/dvb-core/dvb_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/dvb-core/dvb_net.c b/drivers/media/dvb-core/dvb_net.c index a694fb1..b81e026 100644 --- a/drivers/media/dvb-core/dvb_net.c

[PATCH] [media] s5k5baf: Convert use of __constant_cpu_to_be16 to cpu_to_be16

2015-06-05 Thread Vaishali Thakkar
of the definition of __constant_cpu_to_be16 completely. The semantic patch that performs this transformation is as follows: @@expression x;@@ - __constant_cpu_to_be16(x) + cpu_to_be16(x) Signed-off-by: Vaishali Thakkar vthakkar1...@gmail.com --- drivers/media/i2c/s5k5baf.c | 2 +- 1 file changed, 1