s390/vmlogrdr: cleanup device attribute usage
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 4 Jun 2012 17:32:13 +0000 (19:32 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 5 Jun 2012 11:23:37 +0000 (13:23 +0200)
commit76e0377b2450af577077c7e4e00ae6da738d1884
treef2f8679ee66d1787ec3e7643a9611f193d0dc850
parent8d4ecfcb6bd19c562e60f80f13cf222db5b4a073
s390/vmlogrdr: cleanup device attribute usage

Let the driver core handle device 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