net: caif: convert to use DRIVER_ATTR_RO
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 9 Jun 2017 09:03:08 +0000 (11:03 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Jun 2017 14:14:30 +0000 (16:14 +0200)
commitf85205c42eb0423e05c91d0276bfc86b136d42f6
tree697207534b98594cd18001a16b67f9b73af8ad01
parent4e70a6fe6dc5d78939d9e155db3bd6cef28ec310
net: caif: convert to use DRIVER_ATTR_RO

We are trying to get rid of DRIVER_ATTR(), and the caif driver's
attributes can be trivially changed to use DRIVER_ATTR_RO().

Cc: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
Cc: <netdev@vger.kernel.org>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/caif/caif_spi.c