fix up implementation of int get_partition_device

Change-Id: I142b15228322790892dd07b10d6a3f31440badc7
1 file changed