Re: [PATCH] [media] sn9c20x: refactor initialization functions and fix lint warnings/errors

2014-09-08 Thread Hans de Goede
Hi, On 09/08/2014 04:25 AM, Morgan Phillips wrote: > Centralize redundant print messages and references to sensor names via macros. > > Change msleep time from 10ms to 20ms in order to address checkpatch.pl > warning: > "msleep < 20ms can sleep for up to 20ms." > > Refactor redundant sensor ini

[PATCH] [media] sn9c20x: refactor initialization functions and fix lint warnings/errors

2014-09-07 Thread Morgan Phillips
Centralize redundant print messages and references to sensor names via macros. Change msleep time from 10ms to 20ms in order to address checkpatch.pl warning: "msleep < 20ms can sleep for up to 20ms." Refactor redundant sensor initialization logic into two functions (_init_sensor_w1, _init_senso