converted fifo sysfs from class to device

The fifo sysfs attributes have been change so that they
are no placed under a 'device' instead of a 'class'.

The show functions have also been updated to retrieve the
device from drvdata.