On Thu, Jan 19, 2017 at 06:53:38PM +0100, Hans de Goede wrote: > On x86 we do not have devicetree to link the pwm controller and > the display controller together. So someone needs to call > pwm_add_table() to create the link, so that the i915 driver's > pwm_get(dev, "pwm_backlight") call returns the lpss' pwm0. > > The pwm subsystem does not want to have pwm_add_table() calls > directly in pwm drivers (this leads to probe ordering issues), > so lets do it here since the acpi-lpss code is always builtin. Nit: "pwm" -> "PWM" in the above. Other than that this looks like a much more suitable location for pwm_add_table(), so: Acked-by: Thierry Reding <thierry.reding@xxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature