Commits
![Mark Starovoytov](https://secure.gravatar.com/avatar/d6615634909550075d6a3a385fc3d52b.jpg?s=96&d=mm)
Mark Starovoytov committed 84c8498320d
net: atlantic: make hw_get_regs optional [ Upstream commit d0f23741c202c685447050713907f3be39a985ee ] This patch fixes potential crash in case if hw_get_regs is NULL. Signed-off-by: Mark Starovoytov <mstarovoitov@marvell.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>