drm/bridge: analogix-anx78xx: Remove duplicate NULL check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 31 Oct 2017 14:21:40 +0000 (16:21 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 Jan 2018 14:24:29 +0000 (16:24 +0200)
commit0173bfd421d36464ec91c6c2c76db82e0bcb7699
tree76ed7dd25b09d8532f7b84d77527253b3010fe36
parent739ebf51a92c67ce7e26e348d8effb9a55eb96c3
drm/bridge: analogix-anx78xx: Remove duplicate NULL check

Since i2c_unregister_device() became NULL-aware we may remove duplicate
NULL check.

Cc: Archit Taneja <architt@codeaurora.org>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Laurent Pinchart <Laurent.pinchart@ideasonboard.com>
Cc: David Airlie <airlied@linux.ie>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171031142149.32512-6-andriy.shevchenko@linux.intel.com
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/bridge/analogix-anx78xx.c