Commit 6a8e793
committed
ACPI: video: Consolidate pnp.bus_id workarounds handling
Reduce code duplication related to pnp.bus_id workarounds by combining
the two existing cases.
Also move the definition of static variable "instance" into
acpi_video_bus_probe() because it is only used there.
No intentional functional impact.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/3430879.44csPzL39Z@rafael.j.wysocki1 parent 9dc11fa commit 6a8e793
1 file changed
Lines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1978 | 1978 | | |
1979 | 1979 | | |
1980 | 1980 | | |
1981 | | - | |
1982 | | - | |
1983 | 1981 | | |
1984 | 1982 | | |
1985 | 1983 | | |
1986 | 1984 | | |
1987 | 1985 | | |
1988 | 1986 | | |
| 1987 | + | |
1989 | 1988 | | |
1990 | 1989 | | |
1991 | 1990 | | |
| |||
2005 | 2004 | | |
2006 | 2005 | | |
2007 | 2006 | | |
2008 | | - | |
2009 | | - | |
2010 | | - | |
2011 | | - | |
2012 | | - | |
2013 | | - | |
2014 | | - | |
2015 | | - | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
2016 | 2013 | | |
2017 | 2014 | | |
| 2015 | + | |
2018 | 2016 | | |
2019 | 2017 | | |
2020 | 2018 | | |
| |||
0 commit comments