drm: of: simplify component probe code
authorBaruch Siach <baruch@tkos.co.il>
Thu, 22 Feb 2018 19:22:50 +0000 (21:22 +0200)
committerArchit Taneja <archit@cradlewise.com>
Tue, 6 Mar 2018 08:35:00 +0000 (14:05 +0530)
commit2efa83920c7f4fb214517437c730afdaa4e28391
tree3baa6051830f583eda863ebd314ebb9f24869f38
parent3bd07ccd27622d598fd9d87f3032dd457ad62083
drm: of: simplify component probe code

Use positive logic for better readability. This also eliminates one
of_node_put() call, making the code shorter.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Archit Taneja <archit@cradlewise.com>
Link: https://patchwork.freedesktop.org/patch/msgid/61c56895d44117d80e7d82f04e729e29c60fadbd.1519327370.git.baruch@tkos.co.il
drivers/gpu/drm/drm_of.c