]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: microchip: fill regmap_config name
authorGeorge McCollister <george.mccollister@gmail.com>
Thu, 29 Aug 2019 14:14:41 +0000 (09:14 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 31 Aug 2019 20:19:07 +0000 (13:19 -0700)
commit24f3d47ed93c0722fb4c04e9585658a31e8eee6f
tree37fd54eca87f74db5c44bc899e93aab38dd8da6d
parentf72329601b804c1361d5ca74ac40c0eb116eeee9
net: dsa: microchip: fill regmap_config name

Use the register value width as the regmap_config name to prevent the
following error when the second and third regmap_configs are
initialized.
 "debugfs: Directory '${bus-id}' with parent 'regmap' already present!"

Signed-off-by: George McCollister <george.mccollister@gmail.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/microchip/ksz_common.h