net: phy: sfp: make the i2c-bus dt property mandatory
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 22 May 2018 10:18:00 +0000 (12:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 May 2018 18:34:27 +0000 (14:34 -0400)
commit66ede1f9c9466cdf866b4be40a814a140d5df60a
tree66b10a401d0d7129812c338b853fccc8c3f9e5a8
parenta1f5d1f0dfccea54e1d9c2da16fd8c9b54f81a75
net: phy: sfp: make the i2c-bus dt property mandatory

This patch makes the i2c-bus property mandatory when using a device
tree. If the sfp i2c bus isn't described it's impossible to guess the
protocol to use for a given module, and the sfp module would then not
work in most cases.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/sfp.c