net: nfc: have genetlink code to parse the attrs during dumpit
authorJiri Pirko <jiri@mellanox.com>
Sat, 5 Oct 2019 18:04:38 +0000 (20:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 6 Oct 2019 13:44:47 +0000 (15:44 +0200)
commit4495af31947bcc8886fe43737500f12729f7bdd9
tree1d99aa7260fe1e1b1aab0514153f6727f7896c41
parent75cdbdd089003cd53560ff87b690ae911fa7df8e
net: nfc: have genetlink code to parse the attrs during dumpit

Benefit from the fact that the generic netlink code can parse the attrs
for dumpit op and avoid need to parse it in the op callback.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/nfc/netlink.c