Re: [Intel-gfx] [RFC v4 10/11] drm/dp: Extract i915's eDP backlight code into DRM helpers

From: Ville Syrjälä
Date: Thu Feb 18 2021 - 13:06:51 EST


On Thu, Feb 18, 2021 at 10:35:05AM +0200, Jani Nikula wrote:
> On Fri, 12 Feb 2021, Lyude Paul <lyude@xxxxxxxxxx> wrote:
> > I think it wouldn't be a bad idea to just address this with a followup series
> > instead and use the old DRM_DEBUG_* macros in the mean time.
>
> aux->dev is there, could also use dev_dbg et al. in the mean time. They
> handle NULL dev gracefully too if the driver didn't set that.

Last I looked aux->dev was random. Some drivers point it at the
connector vs. some at the the pci/platform device.

--
Ville Syrjälä
Intel