Tag: 9d521ca71d95a5aede00559db64622fdf5ee7dde

Staging: most: Replace pr_err with dev_err

Author: Bhumika Goyal <bhumirks@gmail.com> All devm functions has a device structure as the first argument which is required by dev_{err,info,dbg} printing functions. This patch converts pr_err to dev_err as dev_* is preferred after calls to devm functions. Done using coccinelle: @r1 exists@ expression e,e1; identifier f =~ “^devm_”; identifier g =~ “^pcim_”; identifier h =~ …

Continue reading