Skip to content
Commit 29e3dd0d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

Kobject: convert block/elevator.c to use kobject_init/add_ng()



This converts the code to use the new kobject functions, cleaning up the
logic in doing so.

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent edfaa7c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment