Messages in this thread | | | Date | Thu, 2 Nov 2023 11:16:34 +0530 | From | Viresh Kumar <> | Subject | Re: [PATCH v2] opp: ti: Use device_get_match_data() |
| |
On 01-11-23, 09:45, Rob Herring wrote: > Use preferred device_get_match_data() instead of of_match_device() to > get the driver match data. With this, adjust the includes to explicitly > include the correct headers. > > As this driver only does DT based matching, of_match_device() will never > return NULL if we've gotten to probe(). Therefore, the NULL check and > error return for it can be dropped. > > Signed-off-by: Rob Herring <robh@kernel.org> > --- > v2: > - Add missing commit msg > --- > drivers/opp/ti-opp-supply.c | 13 +++---------- > 1 file changed, 3 insertions(+), 10 deletions(-)
Applied. Thanks.
-- viresh
| |