drm/i2c: tda998x: Remove duplicate NULL check
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 31 Oct 2017 14:21:42 +0000 (16:21 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 18 Jan 2018 14:24:38 +0000 (16:24 +0200)
commite1ca774b3e06228ad75a2e4afc7f3a4cb45eef64
treebc72c46946c56700769023500350dbbb1b093223
parentc4880be79c0655fb17dbcf29b95fc840ff3a4c22
drm/i2c: tda998x: Remove duplicate NULL check

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

Cc: Russell King <linux@armlinux.org.uk>
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-8-andriy.shevchenko@linux.intel.com
Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
drivers/gpu/drm/i2c/tda998x_drv.c