net: dsa: sja1105: Make dynamic_config_read return -ENOENT if not found
authorVladimir Oltean <olteanv@gmail.com>
Sun, 2 Jun 2019 21:11:59 +0000 (00:11 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2019 18:49:19 +0000 (11:49 -0700)
commitdef846042f13cb0feabb86375e824c648543700a
treeb3f45aef9f1e74799f31468c0cdcef1d52a62846
parent10c3be6526f58221cfcdd1773aa5382e3630000b
net: dsa: sja1105: Make dynamic_config_read return -ENOENT if not found

Conceptually, if an entry is not found in the requested hardware table,
it is not an invalid request - so change the error returned
appropriately.

Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/sja1105/sja1105_dynamic_config.c
drivers/net/dsa/sja1105/sja1105_main.c