s390/vmlogrdr: cleanup driver attribute usage
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 4 Jun 2012 17:33:09 +0000 (19:33 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 5 Jun 2012 11:23:38 +0000 (13:23 +0200)
commit72f6e3a8bc956fddf6e004ae9b804977d1458e77
tree9f5f05693a44a840a046d089451e2df927e8525f
parent76e0377b2450af577077c7e4e00ae6da738d1884
s390/vmlogrdr: cleanup driver attribute usage

Let the driver core handle driver attribute creation and removal. This
will simplify the code and eliminates races between attribute
availability and userspace notification via uevents.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/char/vmlogrdr.c