]> git.baikalelectronics.ru Git - kernel.git/commit
ide: sanitize ide*_pm_* enums
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:38 +0000 (21:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 13 Oct 2008 19:39:38 +0000 (21:39 +0200)
commitd2a4eed2db95a6d5348925880449b32bb51d3879
tree0e68c29e5cbea6766cded4feb9274d87698f8b72
parent8ef383793f740c25060c488ef31b4a21f7c8d7bd
ide: sanitize ide*_pm_* enums

* Move ide*_pm_* enums from ide-io.c to <linux/ide.h>.

* idedisk_pm_* -> ide_pm_*

* ide_pm_state_* -> ide_pm_*

* No need to set ide_pm_* enums to the fixed values.

* Uppercase ide_pm_* enums.

* Fix/update comments.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-io.c
drivers/ide/ide.c
include/linux/ide.h