Tag: 92371df8a9b70735b63075bb1f8a7480488d748e

Staging: iio: replace pr_err with dev_err

Author: Haneen Mohammed <hamohammed.sa@gmail.com> This patch replace pr_err with dev_err, when appropriate device structre 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