device property: Remove duplicate test for NULL
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Fri, 23 Aug 2019 20:32:27 +0000 (23:32 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 26 Aug 2019 09:40:24 +0000 (11:40 +0200)
commit149f3b87840e7d292ad059f5fc23f1fa2fc98b9e
tree3044fecf00274e396d3aff05a1c831be788ce542
parent78cd4bf53635d3aeb73435bc89eb6eb39450f315
device property: Remove duplicate test for NULL

There is no need to check twice for a NULL in fwnode_call_bool_op().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
include/linux/fwnode.h