mtd: maps: physmap: Invert logic on if/else branch
It is preferred to have the positive statement on an if/else. While we are at it we replace the way we access rom_probe_types. Signed-off-by: NRicardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com> Acked-by: NLinus Walleij <linus.walleij@linaro.org>
Showing
想要评论请 注册 或 登录