staging: most: do not make interface dependent attrs default for all channels
authorChristian Gromm <christian.gromm@microchip.com>
Mon, 13 Aug 2018 13:02:29 +0000 (15:02 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Aug 2018 17:51:49 +0000 (19:51 +0200)
commit4ad866231e4c73af02c89c337c2b655793088bb8
treec547f86f12547e9c5c3c88e94b84623520383a45
parentf0b4a22a48481824e124f633bbe5d3e884fc8e36
staging: most: do not make interface dependent attrs default for all channels

The channel attribute dbr_size is only relevant for the DIM2 interface. so
is the packets_per_xact for USB. This patch cleans up the driver's ABI by
not showing all attributes by default for each channel, but only on those
they belong to.

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