s390/cio/chp: cleanup attribute usage
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Mon, 4 Jun 2012 17:29:41 +0000 (19:29 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 5 Jun 2012 11:23:36 +0000 (13:23 +0200)
commited35ba9af4f40056a222dd7b67f39f1f6172185a
treefccc62e460c46f1b2de1576bb6cc57bacc4a3358
parenteb546195a7d8bc492ec6865980bf767474e74d87
s390/cio/chp: cleanup 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/cio/chp.c