drm/mipi_dsi: create dsi devices only for nodes with reg property
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 28 Mar 2014 11:52:37 +0000 (12:52 +0100)
committerInki Dae <daeinki@gmail.com>
Fri, 4 Apr 2014 12:24:47 +0000 (21:24 +0900)
commite49640da76b5e143b809720bff8f35ad5f2d8cc6
tree05d7201781b2de3dbff2ef8225e7d783f16f07c6
parent1d96d4a6772ba8f5614a6d8de8baf6d090a9de0b
drm/mipi_dsi: create dsi devices only for nodes with reg property

MIPI DSI host node can contain child nodes which are not DSI devices.
Checking for existence of reg property can be used to distinguish such nodes.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/drm_mipi_dsi.c