[PATCH] media: bcm2048: Macros with complex values should be enclosed in parentheses

2019-06-27 Thread Lukas Schneider
Fix ERROR: Macros with complex values should be enclosed in parentheses, reported by checkpatch. Add a do {...} while (0) loop around the macro. Signed-off-by: Lukas Schneider Signed-off-by: Jannik Moritz Cc: --- drivers/staging/media/bcm2048/radio-bcm2048.c | 6 -- 1 file changed, 4

[PATCH] fbtft: Cleanup line over 80 character warnings

2019-06-27 Thread Lukas Schneider
Cleanup the line over 80 character warnings, reported by checkpatch Signed-off-by: Lukas Schneider Signed-off-by: Jannik Moritz Cc: --- drivers/staging/fbtft/fbtft-sysfs.c | 3 ++- drivers/staging/fbtft/fbtft.h | 26 ++ 2 files changed, 24 insertions(+), 5

Re: [PATCH 4/4] rts5208: Fix usleep range is preferred over udelay

2019-06-21 Thread Lukas Schneider
Am 21.06.2019 um 13:04 schrieb Pavel Machek: On Wed 2019-06-19 17:46:48, Lukas Schneider wrote: This patch fixes the issue reported by checkpatch: CHECK: usleep_range is preferred over udelay; see Doucmentation/timers/timers-howto.txt It's save to sleep here instead of using busy wa

[PATCH 3/4] rts5208: Fix usleep_range is preferred over udelay

2019-06-19 Thread Lukas Schneider
This patch fixes the issue reported by checkpatch: CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt It's save to sleep here instead of using busy waiting, because we are not in an atomic context. Signed-off-by: Lukas Schneider Signed-off-by: Jannik M

[PATCH 4/4] rts5208: Fix usleep range is preferred over udelay

2019-06-19 Thread Lukas Schneider
This patch fixes the issue reported by checkpatch: CHECK: usleep_range is preferred over udelay; see Doucmentation/timers/timers-howto.txt It's save to sleep here instead of using busy waiting, because we are not in an atomic context. Signed-off-by: Lukas Schneider Signed-off-by: Jannik M

[PATCH 2/4] rts5208: Fix usleep_range is preferred over udelay

2019-06-19 Thread Lukas Schneider
This patch fixes the issue reported by checkpatch: CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt It's save to sleep here instead of using busy waiting, because we are not in an atomic context. Signed-off-by: Lukas Schneider Signed-off-by: Jannik M

[PATCH 1/4] rts5208: Fix usleep_range is preferred over udelay

2019-06-19 Thread Lukas Schneider
This patch fixes the issue reported by checkpatch: CHECK: usleep_range is preferred over udelay; see Documentation/timers/timers-howto.txt It's save to sleep here instead of using busy waiting, because we are not in an atomic context. Signed-off-by: Lukas Schneider Signed-off-by: Jannik M