staging: most: core: fix sysfs attribute management
authorChristian Gromm <christian.gromm@microchip.com>
Tue, 21 Nov 2017 14:04:53 +0000 (15:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Nov 2017 08:20:35 +0000 (09:20 +0100)
commitbdafb7e83b0229379b11bfdd36ccfb3adf447666
tree08e75b5ebb2b3e460d3f10e19743fa96cd417bdd
parenta6404e6e5a0e2933e10be3e42311ee6b65b821fc
staging: most: core: fix sysfs attribute management

This patch creates a new attribute group to manage the attributes
of a registered aim module in sysfs and changes the show and store
functions accordingly.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/most/core.c