mbox series

[0/3] media: i2c: video-i2c: Minor corrections

Message ID 20220419202051.44013-1-mosescb.dev@gmail.com
Headers show
Series media: i2c: video-i2c: Minor corrections | expand

Message

Moses Christopher Bollavarapu April 19, 2022, 8:20 p.m. UTC
* Move define statements to the top of the file
* Add ram and eeprom start addr as define statements
* fix masking of bits using GENMASK macro from bits.h

Moses Christopher Bollavarapu (3):
  media: i2c: video-i2c: Move defines to the top of the file
  media: i2c: video-i2c: Replace constants with proper names
  media: i2c: video-i2c: Use GENMASK for masking bits

 drivers/media/i2c/video-i2c.c | 61 +++++++++++++++++++----------------
 1 file changed, 34 insertions(+), 27 deletions(-)