Tag: 41f06c619a302fa386e4d784c8ceed250d4c3754

Staging: ft1000: 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; …

Continue reading