summaryrefslogtreecommitdiffstats
path: root/drivers/staging/gdm724x/gdm_mux.c
diff options
context:
space:
mode:
authorHaneen Mohammed <hamohammed.sa@gmail.com>2015-03-17 08:33:51 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-03-18 11:16:36 +0100
commita112eab4d5e78433a7c65b5703ad177cdabc6588 (patch)
tree23c3270d186eae68e55654ba4cca5cb0faeda905 /drivers/staging/gdm724x/gdm_mux.c
parent4c205ab53489894c77f81fe9a0c0ff6345b83e76 (diff)
downloadlinux-a112eab4d5e78433a7c65b5703ad177cdabc6588.tar.bz2
Staging: comedi: replace pr_err with dev_err
This patch replace pr_err with dev_err, when appropriate device structure is found. Issue found using the following Coccinelle script: @r exists@ identifier f, s, i; position p; @@ f(...,struct s *i,...) { <+... when != i == NULL pr_err@p(...); ...+> } @rr@ identifier r.s, fld; @@ struct s { ... struct device *fld; ... }; @@ identifier r.i, rr.fld; position r.p; @@ -pr_err@p +dev_err ( + i->fld, ...) Signed-off-by: Haneen Mohammed <hamohammed.sa@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/gdm724x/gdm_mux.c')
0 files changed, 0 insertions, 0 deletions