
This change is returning error for the cases when platform device misses some data for device or sub device. Adding Null pointer checks resolves this issue. CRs-Fixed: 3608850 Change-Id: If8fc3fc7c93bb2b95087674165dca8c1c13d54f6 Signed-off-by: Sourabh Soni <quic_soursoni@quicinc.com>