Ville Syrjälä 43a6d19cac drm/i915: Pass intel_connector to intel_attached_*()
Life is usually easier when we pass around intel_ types instead
of drm_ types. In this case it might not be, but I think being
consistent is a good thing anyway. Also some of this might get
cleaned up a bit more later as we keep propagating the intel_
types further.

@find@
identifier F =~ "^intel_attached_.*";
identifier C;
@@
F(struct drm_connector *C)
{
...
}

@@
identifier find.F;
identifier find.C;
@@
F(
- struct drm_connector *C
+ struct intel_connector *connector
  )
{
<...
- C
+ &connector->base
...>
}

@@
identifier find.F;
expression C;
@@
- F(C)
+ F(to_intel_connector(C))

@@
expression C;
@@
- to_intel_connector(&C->base)
+ C

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191204180549.1267-3-ville.syrjala@linux.intel.com
Reviewed-by: Mika Kahola <mika.kahola@intel.com>
2020-01-13 19:33:34 +02:00
..
2020-01-03 11:43:44 +10:00
2020-01-03 11:43:44 +10:00
2019-12-17 13:57:54 +01:00
2019-11-20 17:40:32 +01:00
2020-01-03 11:43:44 +10:00
2020-01-03 11:43:44 +10:00
2020-01-03 11:43:44 +10:00
2019-12-17 13:57:54 +01:00
2019-12-17 13:57:54 +01:00
2019-12-17 13:57:54 +01:00
2019-12-17 13:57:54 +01:00
2020-01-03 11:43:44 +10:00
2019-12-17 13:57:54 +01:00
2019-12-17 13:57:54 +01:00
2019-12-11 17:02:17 +01:00
2019-11-14 05:53:10 +10:00
2019-12-17 13:57:54 +01:00
2019-11-19 22:25:55 +01:00
2019-11-27 17:45:48 -08:00
2019-10-08 18:29:00 +02:00
2019-12-17 13:57:54 +01:00
2019-12-27 15:25:04 +10:00
2019-12-17 13:57:54 +01:00
2019-12-27 15:25:04 +10:00