mtd: maps: physmap: Fix coding style issues reported by checkpatch
authorBoris Brezillon <boris.brezillon@bootlin.com>
Fri, 19 Oct 2018 07:49:02 +0000 (09:49 +0200)
committerBoris Brezillon <boris.brezillon@bootlin.com>
Mon, 5 Nov 2018 21:24:15 +0000 (22:24 +0100)
commitcb946bf6aaeb7c8151b18924d81370ffe6b7441b
tree0c1c07e7d42c58457c70e98d5d1ff7c759929d37
parent7abe5309de76337920f103d9e34ebd42a479533b
mtd: maps: physmap: Fix coding style issues reported by checkpatch

Fix the following coding style issues:
- != NULL and == NULL test replaced by ! (or nothing)
- split over 80 chars lines
- add missing braces in multi-line if() {} else {} statements

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
drivers/mtd/maps/physmap.c