Re: [PATCH] drm/panfrost: Remove NULL check for regulator

2019-10-09 Thread Rob Herring
On Fri, Oct 4, 2019 at 9:44 AM Steven Price wrote: > > devm_regulator_get() is used to populate pfdev->regulator which ensures > that this cannot be NULL (a dummy regulator will be returned if > necessary). So remove the check in panfrost_devfreq_target(). > > Signed-off-by: Steven Price > --- >

[PATCH] drm/panfrost: Remove NULL check for regulator

2019-10-04 Thread Steven Price
devm_regulator_get() is used to populate pfdev->regulator which ensures that this cannot be NULL (a dummy regulator will be returned if necessary). So remove the check in panfrost_devfreq_target(). Signed-off-by: Steven Price --- This looks like it was accidentally reintroduced by the merge from