OSDN Git Service

fsi: Add cfam char devices
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 21 Jun 2018 02:34:22 +0000 (12:34 +1000)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 26 Jul 2018 23:58:05 +0000 (09:58 +1000)
commitd1dcd678257603e71cf3f3d84c70e2b6f0f14bb8
treeffd1e32feeba98c1baa9e0b9529edb96cd91001a
parentd8f4587655f9682127351a9dc3fca61e70744294
fsi: Add cfam char devices

This aims to deprecate the "raw" sysfs file used for directly
accessing the CFAM and instead use a char device like the
other sub drivers.

Since it reworks the slave creation code and adds a cfam device
type, we also use the opportunity to convert the attributes
to attribute groups and add a couple more.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
drivers/fsi/fsi-core.c