mbox series

[net-next,0/3] Cosmetic cleanup in SJA1105 DSA driver

Message ID 20200620171832.3679837-1-olteanv@gmail.com
Headers show
Series Cosmetic cleanup in SJA1105 DSA driver | expand

Message

Vladimir Oltean June 20, 2020, 5:18 p.m. UTC
From: Vladimir Oltean <vladimir.oltean@nxp.com>

This removes the sparse warnings from the sja1105 driver and makes some
structures constant.

Vladimir Oltean (3):
  net: dsa: sja1105: remove empty structures from config table ops
  net: dsa: sja1105: make config table operation structures constant
  net: dsa: sja1105: make the instantiations of struct sja1105_info
    constant

 drivers/net/dsa/sja1105/sja1105.h             | 12 +++----
 .../net/dsa/sja1105/sja1105_dynamic_config.c  | 25 ++-----------
 .../net/dsa/sja1105/sja1105_dynamic_config.h  |  4 +--
 drivers/net/dsa/sja1105/sja1105_spi.c         | 17 +++++----
 .../net/dsa/sja1105/sja1105_static_config.c   | 36 ++++---------------
 .../net/dsa/sja1105/sja1105_static_config.h   | 12 +++----
 6 files changed, 33 insertions(+), 73 deletions(-)