]> git.karo-electronics.de Git - linux-beck.git/commit
s390/dcssblk: cleanup device attribute usage
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 1 Oct 2012 07:12:01 +0000 (09:12 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 9 Oct 2012 12:16:56 +0000 (14:16 +0200)
commit521b3d790c16fad9d83c72d610c1e416ad3f7ae3
tree978471e1dbd99661933903e0840c6d80a1ff9cc0
parent85e9d0e5ffabfede5facbac5b0d9b90768bc6e90
s390/dcssblk: 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/block/dcssblk.c