[PATCH] staging: lustre: lnet: Replace list_for_each with list_for_each_entry

2017-09-15 Thread Haneen Mohammed
, list_for_each_entry; identifier pos, var; @@ -T1 *pos; ...when!=pos=e; -list_for_each(pos, head) +list_for_each_entry(var, head, member) { ...when!=pos=e; when!=T3 *var; -var = list_entry(pos, T2, member); ...when!=pos=e; } ...when!=pos=e; Signed-off-by: Haneen Mohammed --- drivers/staging

[PATCH v2] drm/rockchip: Replace dev_* with DRM_DEV_*

2017-09-15 Thread Haneen Mohammed
+DRM_DEV_DEBUG ) Signed-off-by: Haneen Mohammed --- Changes in v2: - Change patch title - Remove redundant print messages from DRM_DEV_* drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 26 drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 +- drivers/gpu/drm/rockchip/dw-mipi-dsi.c

[PATCH] gpu: drm: rockchip: Replace dev_* with DRM_DEV_*

2017-09-14 Thread Haneen Mohammed
+DRM_DEV_DEBUG ) Signed-off-by: Haneen Mohammed --- drivers/gpu/drm/rockchip/analogix_dp-rockchip.c | 26 +++ drivers/gpu/drm/rockchip/cdn-dp-reg.c | 2 +- drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 90 ++--- drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 19

[PATCH] staging: irda: Remove typedef struct

2017-09-13 Thread Haneen Mohammed
coccinelle.T2 = T[:-2]; else: coccinelle.T2 = T; print T, coccinelle.T2 @r2@ type r1.T; identifier c1.T2; @@ -typedef struct + T2 { ... } -T ; @r3@ type r1.T; identifier c1.T2; @@ -T +struct T2 Signed-off-by: Haneen Mohammed --- drivers/staging/irda/include/net/irda/qos.h | 20 ++

[PATCH] staging: wlan-ng: Replace pr_debug with netdev_dbg

2017-09-12 Thread Haneen Mohammed
( + i->fld, ...) ) Signed-off-by: Haneen Mohammed --- drivers/staging/wlan-ng/prism2mgmt.c | 78 ++-- 1 file changed, 47 insertions(+), 31 deletions(-) diff --git a/drivers/staging/wlan-ng/prism2mgmt.c b/drivers/staging/wlan-ng/prism2mgmt.c index c4aa9e7.

[PATCH] staging: pi433: Replace printk() with dev_dbg()

2017-09-12 Thread Haneen Mohammed
This patch convert printk() to the preferred variant dev_dbg() and remove unnecessary comment line. Issue detected with checkpatch.pl. Signed-off-by: Haneen Mohammed --- drivers/staging/pi433/pi433_if.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging