usb-gadget/f_obex: use per-attribute show and store methods
authorChristoph Hellwig <hch@lst.de>
Sat, 3 Oct 2015 13:32:50 +0000 (15:32 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Wed, 14 Oct 2015 05:15:46 +0000 (22:15 -0700)
commit3da5e4c10cbacf5f3da043498299ae631a6dfc9c
tree8128f4521616149a264dca9cfea30e4910a3f6a9
parent495702bcc12fb2c51997088befe37145a34e5e3a
usb-gadget/f_obex: use per-attribute show and store methods

To simplify the configfs interface and remove boilerplate code that also
causes binary bloat.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Acked-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/usb/gadget/function/f_obex.c