]>
Commit | Line | Data |
---|---|---|
596791dc GKH |
1 | From 166c5a6ef765653848161e6f4af81c05e4b3ecf6 Mon Sep 17 00:00:00 2001 |
2 | From: Linus Torvalds <torvalds@linux-foundation.org> | |
3 | Date: Mon, 4 Apr 2016 12:38:46 -0700 | |
4 | Subject: gma500: remove annoying deprecation warning | |
5 | ||
6 | From: Linus Torvalds <torvalds@linux-foundation.org> | |
7 | ||
8 | commit 166c5a6ef765653848161e6f4af81c05e4b3ecf6 upstream. | |
9 | ||
10 | In commit e45708976aea ("drm/dp-helper: Move the legacy helpers to | |
11 | gma500") the legacy i2c helpers were moved to the only remaining user of | |
12 | them, the gma500 driver. Together with that move, i2c_dp_aux_add_bus() | |
13 | was marked deprecated and started warning about its remaining use. | |
14 | ||
15 | It's now been a year and a half of annoying warning, and apparently | |
16 | nobody cares enough about gma500 to try to move it along to the more | |
17 | modern models. | |
18 | ||
19 | Get rid of the warning - if even the gma500 people don't care enough, | |
20 | then they should certainly not spam other innocent developers with a | |
21 | warning that might hide other, much more real issues. | |
22 | ||
23 | Cc: Daniel Vetter <daniel.vetter@intel.com> | |
24 | Cc: Alan Cox <alan@linux.intel.com> | |
25 | Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> | |
26 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | |
27 | ||
28 | --- | |
29 | drivers/gpu/drm/gma500/cdv_intel_dp.c | 2 +- | |
30 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
31 | ||
32 | --- a/drivers/gpu/drm/gma500/cdv_intel_dp.c | |
33 | +++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c | |
34 | @@ -220,7 +220,7 @@ i2c_dp_aux_prepare_bus(struct i2c_adapte | |
35 | * FIXME: This is the old dp aux helper, gma500 is the last driver that needs to | |
36 | * be ported over to the new helper code in drm_dp_helper.c like i915 or radeon. | |
37 | */ | |
38 | -static int __deprecated | |
39 | +static int | |
40 | i2c_dp_aux_add_bus(struct i2c_adapter *adapter) | |
41 | { | |
42 | int error; |