]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: qca8k: move regmap init in probe and set it mandatory
authorAnsuel Smith <ansuelsmth@gmail.com>
Mon, 22 Nov 2021 15:23:43 +0000 (16:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Nov 2021 15:35:16 +0000 (15:35 +0000)
commit4eb520a3b9e000ab9f2127acd2e0df2dfcf47030
tree4b5e9f4e70ab49e9e1adc139a4cb5a8eccf6777a
parente1d6cb61a1da2582643761e9c0dd9e9f271ae7cd
net: dsa: qca8k: move regmap init in probe and set it mandatory

In preparation for regmap conversion, move regmap init in the probe
function and make it mandatory as any read/write/rmw operation will be
converted to regmap API.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/qca8k.c