Tag: a112eab4d5e78433a7c65b5703ad177cdabc6588

Staging: comedi: replace pr_err with dev_err

Author: Haneen Mohammed <hamohammed.sa@gmail.com> 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,…) { } @rr@ identifier r.s, fld; @@ struct s { … struct device *fld; … }; @@ identifier r.i, rr.fld; …

Lire la suite