[PATCH] drm/gma500: Remove DP_LINK_STATUS_SIZE redefinition
Patrik Jakobsson
patrik.r.jakobsson at gmail.com
Thu Sep 24 04:44:08 PDT 2015
On Thu, Sep 24, 2015 at 10:07 AM, Thierry Reding
<thierry.reding at gmail.com> wrote:
> From: Thierry Reding <treding at nvidia.com>
>
> The DRM/DP helpers already contain a definition for this macro. Remove
> the duplicate in the GMA500 driver to avoid having to keep both updated
> synchronously.
>
> Cc: Patrik Jakobsson <patrik.r.jakobsson at gmail.com>
> Signed-off-by: Thierry Reding <treding at nvidia.com>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson at gmail.com>
> ---
> drivers/gpu/drm/gma500/cdv_intel_dp.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/gma500/cdv_intel_dp.c b/drivers/gpu/drm/gma500/cdv_intel_dp.c
> index 0fafb8e2483a..17cea400ae32 100644
> --- a/drivers/gpu/drm/gma500/cdv_intel_dp.c
> +++ b/drivers/gpu/drm/gma500/cdv_intel_dp.c
> @@ -247,7 +247,6 @@ i2c_dp_aux_add_bus(struct i2c_adapter *adapter)
>
> #define wait_for(COND, MS) _wait_for(COND, MS, 1)
>
> -#define DP_LINK_STATUS_SIZE 6
> #define DP_LINK_CHECK_TIMEOUT (10 * 1000)
>
> #define DP_LINK_CONFIGURATION_SIZE 9
> --
> 2.5.0
>
More information about the dri-devel
mailing list