ANDROID: dm: android-verity: use name_to_dev_t
authorJeremy Compostella <jeremy.compostella@intel.com>
Fri, 15 Apr 2016 11:32:54 +0000 (13:32 +0200)
committerAmit Pundir <amit.pundir@linaro.org>
Mon, 18 Dec 2017 15:41:22 +0000 (21:11 +0530)
commit7c27d16eee3886bb9a40b6b9dea38f72ea8e9371
treeecd6f67573151396468a2e98d827087a40f27691
parent47c3ee9725a835ea9aed82513fd278f6ca2dff0a
ANDROID: dm: android-verity: use name_to_dev_t

This patch makes android_verity_ctr() parse its block device string
parameter with name_to_dev_t().  It allows the use of less hardware
related block device reference like PARTUUID for instance.

Change-Id: Idb84453e70cc11abd5ef3a0adfbb16f8b5feaf07
Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com>
drivers/md/dm-android-verity.c