Files
linux/drivers/of
Marek Szyprowski 9f5a802b1d [media] of: reserved_mem: restore old behavior when no region is defined
Change return value back to -ENODEV when no region is defined for given
device. This restores old behavior of this function, as some drivers rely
on such error code.

Fixes: 59ce403972 ("of: reserved_mem: add support for using more than
       one region for given device")

Reported-by: Liviu Dudau <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Reviewed-by: Sylwester Nawrocki <[email protected]>
Reviewed-by: Liviu Dudau <[email protected]>
Acked-by: Rob Herring <[email protected]>
Reviewed-by: Sumit Semwal <[email protected]>
2016-06-09 06:55:15 -03:00
..
2014-11-04 13:29:38 +00:00