netconsole: use per-attribute show and store methods
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Oct 2015 13:32:56 +0000 (15:32 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Oct 2015 05:17:51 +0000 (22:17 -0700)
commitea9ed9cff47e7932925982c8fdaf2d4d1708884f
treea76e9b19182bc590b2bc579ba74aafad0b84c597
parent2eafd72939fda6118e27d3ee859684987f43921b
netconsole: use per-attribute show and store methods

Note that the old code actually used the store_attributes method to do
locking, this is moved into the individual methods.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/net/netconsole.c