On 7/16/2020 12:00 PM, Qinglang Miao wrote: > From: Liu Shixin <liushixin2@xxxxxxxxxx> > > Use DEFINE_SHOW_ATTRIBUTE macro to simplify the code. > > Signed-off-by: Liu Shixin <liushixin2@xxxxxxxxxx> Reviewed-by: Horia Geantă <horia.geanta@xxxxxxx> This patch depends on linux-next commit 4d4901c6d748 ("seq_file: switch over direct seq_read method calls to seq_read_iter") Horia