Re: [PATCH v2] firmware: arm_scmi: Fix to replace of_match_device

2019-04-10 Thread Sudeep Holla
On Fri, Mar 22, 2019 at 04:55:03PM -0500, Aditya Pakki wrote: > of_match_device can return NULL if no matching device is found. > This patch replaces the function with of_device_get_match_data. > and returns -EINVAL in such a scenario. > > Signed-off-by: Aditya Pakki > > --- > v1: Replace

Re: [PATCH v2] firmware: arm_scmi: Fix to replace of_match_device

2019-03-25 Thread Steven Price
On 22/03/2019 21:55, Aditya Pakki wrote: > of_match_device can return NULL if no matching device is found. > This patch replaces the function with of_device_get_match_data. > and returns -EINVAL in such a scenario. > > Signed-off-by: Aditya Pakki Reviewed-by: Steven Price > > --- > v1:

[PATCH v2] firmware: arm_scmi: Fix to replace of_match_device

2019-03-22 Thread Aditya Pakki
of_match_device can return NULL if no matching device is found. This patch replaces the function with of_device_get_match_data. and returns -EINVAL in such a scenario. Signed-off-by: Aditya Pakki --- v1: Replace of_match_device with of_device_get_match_data ---