fpga: region: use dev_err instead of pr_err
authorAlan Tull <atull@kernel.org>
Wed, 15 Nov 2017 20:20:14 +0000 (14:20 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 28 Nov 2017 15:30:37 +0000 (16:30 +0100)
commitc3d971ad32fc19af638ac6f6ffe041aa1ff722b5
tree06f5b1e8341680d4e51de0744a7e94f818ac2e03
parentebf877a51ad7b65e4ab024f021b60a4f7928864a
fpga: region: use dev_err instead of pr_err

Use dev_err messages instead of pr_err.

Also s/&region->dev/dev/ in two places where we already
have dev = &region->dev.

Signed-off-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/fpga-region.c