net: constify netdev_class_file
authorstephen hemminger <stephen@networkplumber.org>
Fri, 18 Aug 2017 20:46:20 +0000 (13:46 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 19 Aug 2017 05:37:12 +0000 (22:37 -0700)
commitb793dc5c6edfb106fd57d12ad6aca64bf160b403
tree0bf920a37fb93596630bd15241ae0711fc549b1c
parentd0d6683716791b2a2761a1bb025c613eb73da6c3
net: constify netdev_class_file

These functions are wrapper arount class_create_file which can take a
const attribute.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/net-sysfs.c