Re: [PATCH 2/2] smsc911x: Remove dev==NULL check.

2015-08-20 Thread David Miller
From: Jeremy Linton jeremy.lin...@arm.com Date: Wed, 19 Aug 2015 11:46:43 -0500 The dev==NULL check in smsc911x_probe_config is useless and isn't providing any additional protection. If a fwnode doesn't exist then an appropriate error should be returned by device_get_phy_mode() covering the

[PATCH 2/2] smsc911x: Remove dev==NULL check.

2015-08-19 Thread Jeremy Linton
The dev==NULL check in smsc911x_probe_config is useless and isn't providing any additional protection. If a fwnode doesn't exist then an appropriate error should be returned by device_get_phy_mode() covering the original case of a missing of/fwnode. Signed-off-by: Jeremy Linton