commit | 45a0faaba9c8c5ba1e31a08a391aed0bad327167 | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@nxp.com> | Wed Jun 27 10:07:45 2018 -0300 |
committer | Lucas Stach <l.stach@pengutronix.de> | Wed Jun 27 15:26:39 2018 +0200 |
tree | 881c0d7261cd99208607197574453591afb5dd0e | |
parent | ce397d215ccd07b8ae3f71db689aedb85d56ab40 [diff] |
drm/etnaviv: Check for platform_device_register_simple() failure platform_device_register_simple() may fail, so we should better check its return value and propagate it in the case of error. Cc: <stable@vger.kernel.org> Fixes: 246774d17fc0 ("drm/etnaviv: remove the need for a gpu-subsystem DT node") Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com> Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>