[PATCH] Fix all coding-style warnings on lm75 driver

2020-04-30 Thread Michal Orzel
Check/fix all warnings generated by checkpatch.pl script on LM75 driver. Signed-off-by: Michal Orzel --- drivers/hwmon/lm75.c | 8 ++-- drivers/hwmon/lm75.h | 31 +-- 2 files changed, 23 insertions(+), 16 deletions(-) diff --git a/drivers/hwmon/lm75.c b/drivers

[PATCH] drm: Replace drm_modeset_lock/unlock_all with DRM_MODESET_LOCK_ALL_* helpers

2020-04-28 Thread Michal Orzel
As suggested by the TODO list for the kernel DRM subsystem, replace the deprecated functions that take/drop modeset locks with new helpers. Signed-off-by: Michal Orzel --- drivers/gpu/drm/drm_mode_object.c | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/drivers