drivers: base: use device get/put functions
authorSeth Jennings <sjenning@linux.vnet.ibm.com>
Tue, 20 Aug 2013 17:12:59 +0000 (12:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 18:48:40 +0000 (11:48 -0700)
commitdf2b717c667d2cab37d1bbd585e891f10ed2bca4
tree674e6ca90b95714a634f19e88a7197f6b56ea651
parent879f1bec8e136c7bc71e38715e62a73b75f91d78
drivers: base: use device get/put functions

Use the [get|put]_device functions for ref'ing the memory block device
rather than the kobject functions which should be hidden away by the
device layer.

Signed-off-by: Seth Jennings <sjenning@linux.vnet.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/memory.c