fsi: Move master attributes to fsi-master class
authorJeremy Kerr <jk@ozlabs.org>
Fri, 8 Nov 2019 05:19:36 +0000 (15:49 +1030)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Nov 2019 10:23:16 +0000 (11:23 +0100)
commitcf700ba035dce78f17f6ce9405a485e490656666
tree6d451b8d8bf1f7c419ddc53521faf0c6d64320e3
parent2e32c2d675ac19730ec656322414649f04eddaa8
fsi: Move master attributes to fsi-master class

Populate fsi_master_class->dev_attrs with the existing attribute
definitions, so we don't need to explicitly register.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Signed-off-by: Joel Stanley <joel@jms.id.au>
Acked-by: Alistair Popple <alistair@popple.id.au>
Link: https://lore.kernel.org/r/20191108051945.7109-3-joel@jms.id.au
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fsi/fsi-core.c