usb-gadget: use per-attribute show and store methods
To simplify the configfs interface and remove boilerplate code that also causes binary bloat. Signed-off-by: NChristoph Hellwig <hch@lst.de> Reviewed-by: NAndrzej Pietrasiewicz <andrzej.p@samsung.com> Acked-by: NFelipe Balbi <balbi@ti.com> Signed-off-by: NNicholas Bellinger <nab@linux-iscsi.org>
Showing
想要评论请 注册 或 登录