浏览代码

drm/dp-helper: Deprecate old i2c-over-dp_aux heleprs

Only gma500 is still using this, once that's converted we can kill all
this code. If that conversion doesn't happen soonish I think we should
just move this helper code into the gma500 driver itself to avoid
abuse from new drivers.

Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: Thierry Reding <treding@nvidia.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Daniel Vetter 11 年之前
父节点
当前提交
2a8dc638f7
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      drivers/gpu/drm/drm_dp_helper.c

+ 4 - 0
drivers/gpu/drm/drm_dp_helper.c

@@ -213,6 +213,10 @@ i2c_dp_aux_prepare_bus(struct i2c_adapter *adapter)
  *
  *
  * RETURNS:
  * RETURNS:
  * 0 on success, -ERRNO on failure.
  * 0 on success, -ERRNO on failure.
+ *
+ * IMPORTANT:
+ * This interface is deprecated, please switch to the new dp aux helpers and
+ * drm_dp_aux_register_i2c_bus().
  */
  */
 int
 int
 i2c_dp_aux_add_bus(struct i2c_adapter *adapter)
 i2c_dp_aux_add_bus(struct i2c_adapter *adapter)