From: Hans Verkuil <hans.verkuil@xxxxxxxxx> Four CEC capabilities are normally always used. So combine them in a single CEC_CAP_DEFAULTS define. This also avoids missing one of these caps as happened in the stih-cec driver. Regards, Hans Hans Verkuil (5): media/cec.h: add CEC_CAP_DEFAULTS adv*/vivid/pulse8/rainshadow: cec: use CEC_CAP_DEFAULTS s5p-cec: use CEC_CAP_DEFAULTS stih-cec: use CEC_CAP_DEFAULTS stm32-cec: use CEC_CAP_DEFAULTS drivers/media/i2c/adv7511.c | 3 +-- drivers/media/i2c/adv7604.c | 3 +-- drivers/media/i2c/adv7842.c | 3 +-- drivers/media/platform/s5p-cec/s5p_cec.c | 7 ++----- drivers/media/platform/sti/cec/stih-cec.c | 4 +--- drivers/media/platform/stm32/stm32-cec.c | 4 +--- drivers/media/platform/vivid/vivid-cec.c | 3 +-- drivers/media/usb/pulse8-cec/pulse8-cec.c | 3 +-- drivers/media/usb/rainshadow-cec/rainshadow-cec.c | 3 +-- include/media/cec.h | 3 +++ 10 files changed, 13 insertions(+), 23 deletions(-) -- 2.13.2