From: Daniel Vetter Date: Thu, 23 Jan 2014 14:14:15 +0000 (+0100) Subject: drm/doc: Repleace LOCKING kerneldoc sections in drm_modes.c X-Git-Tag: v3.15-rc1~51^2~54^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63951385052f7974155fa38f962f0f4e9847f90a;p=pandora-kernel.git drm/doc: Repleace LOCKING kerneldoc sections in drm_modes.c There's not really any value in stating that no locking is needed. And even if the comment is useful, a check for the right mutex at the beginning of the function is better since that can't be ingored as easily as a bit of documentation. Note that drm_mode_probed_add in drm_crtc.c is also changed, the next patch will move this into drm_modes.c v2: Don't add locking WARN_ONs where it is not strictly required (i.e. the two functions to validate/prune mode lists). Reviewed-by: Alex Deucher Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed