mtd: msm_qpic_nand: Handle new partition layout changes

Handle the new partition layout changes where partition
number is not passed. For example, 0:apps -> apps.
Also, add proper error checks for the return value of
smem_get_entry().

Change-Id: Ia00dd9ff3dc05f0665533e4b59ee9b8572160ee2
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
1 file changed