Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/gma500/intel_i2c: Remove superflouous parameter description and rename another

Fixes the following W=1 kernel build warning(s):

drivers/gpu/drm/gma500/intel_i2c.c:108: warning: Excess function parameter 'output' description in 'psb_intel_i2c_create'
drivers/gpu/drm/gma500/intel_i2c.c:153: warning: Function parameter or member 'chan' not described in 'psb_intel_i2c_destroy'
drivers/gpu/drm/gma500/intel_i2c.c:153: warning: Excess function parameter 'output' description in 'psb_intel_i2c_destroy'

Cc: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Eric Anholt <eric@anholt.net>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210115181313.3431493-18-lee.jones@linaro.org

authored by

Lee Jones and committed by
Daniel Vetter
93c3ffc8 8dd680cc

+1 -2
+1 -2
drivers/gpu/drm/gma500/intel_i2c.c
··· 85 85 /** 86 86 * psb_intel_i2c_create - instantiate an Intel i2c bus using the specified GPIO reg 87 87 * @dev: DRM device 88 - * @output: driver specific output device 89 88 * @reg: GPIO reg to use 90 89 * @name: name for this bus 91 90 * ··· 144 145 145 146 /** 146 147 * psb_intel_i2c_destroy - unregister and free i2c bus resources 147 - * @output: channel to free 148 + * @chan: channel to free 148 149 * 149 150 * Unregister the adapter from the i2c layer, then free the structure. 150 151 */