iio: imx7d_adc: Replace pr_err with dev_err
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Wed, 3 Apr 2019 07:03:21 +0000 (00:03 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Apr 2019 12:22:30 +0000 (13:22 +0100)
commit8cc393bf300b4bfc4c6d2e2e017c6468086cfecc
tree55ce23246e84c3c277b577beef41110714aa839c
parentaa21a28e9050e77a37728693cdb4efaca75e36fc
iio: imx7d_adc: Replace pr_err with dev_err

Replace combination of pr_err()/dev_name() with an equivalent call for
dev_err().

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Jonathan Cameron <jic23@kernel.org>
Cc: Hartmut Knaack <knaack.h@gmx.de>
Cc: Lars-Peter Clausen <lars@metafoo.de>
Cc: Peter Meerwald-Stadler <pmeerw@pmeerw.net>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-iio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/imx7d_adc.c