diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-05-17 07:27:20 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-05-22 05:34:33 -0400 |
commit | 3b02ab8893d45f17ae104588e337188127068a92 (patch) | |
tree | 27a83d4543233d151e8063ef75916897bca364a1 /drivers/gpu | |
parent | 4a1b0714275796fdbc35427cf361eb4123e5e9f6 (diff) |
drm: Miscellaneous typo fixes and documentation updates
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/drm/drm_crtc.c | 2 | ||||
-rw-r--r-- | drivers/gpu/drm/drm_sysfs.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index da737ef7759e..404597e8150a 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c | |||
@@ -363,7 +363,7 @@ EXPORT_SYMBOL(drm_framebuffer_cleanup); | |||
363 | * @funcs: callbacks for the new CRTC | 363 | * @funcs: callbacks for the new CRTC |
364 | * | 364 | * |
365 | * LOCKING: | 365 | * LOCKING: |
366 | * Caller must hold mode config lock. | 366 | * Takes mode_config lock. |
367 | * | 367 | * |
368 | * Inits a new object created as base part of an driver crtc object. | 368 | * Inits a new object created as base part of an driver crtc object. |
369 | * | 369 | * |
diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c index c29fa9c968ae..45cf1dd3eb9c 100644 --- a/drivers/gpu/drm/drm_sysfs.c +++ b/drivers/gpu/drm/drm_sysfs.c | |||
@@ -347,17 +347,17 @@ static struct bin_attribute edid_attr = { | |||
347 | }; | 347 | }; |
348 | 348 | ||
349 | /** | 349 | /** |
350 | * drm_sysfs_connector_add - add an connector to sysfs | 350 | * drm_sysfs_connector_add - add a connector to sysfs |
351 | * @connector: connector to add | 351 | * @connector: connector to add |
352 | * | 352 | * |
353 | * Create an connector device in sysfs, along with its associated connector | 353 | * Create a connector device in sysfs, along with its associated connector |
354 | * properties (so far, connection status, dpms, mode list & edid) and | 354 | * properties (so far, connection status, dpms, mode list & edid) and |
355 | * generate a hotplug event so userspace knows there's a new connector | 355 | * generate a hotplug event so userspace knows there's a new connector |
356 | * available. | 356 | * available. |
357 | * | 357 | * |
358 | * Note: | 358 | * Note: |
359 | * This routine should only be called *once* for each DRM minor registered. | 359 | * This routine should only be called *once* for each registered connector. |
360 | * A second call for an already registered device will trigger the BUG_ON | 360 | * A second call for an already registered connector will trigger the BUG_ON |
361 | * below. | 361 | * below. |
362 | */ | 362 | */ |
363 | int drm_sysfs_connector_add(struct drm_connector *connector) | 363 | int drm_sysfs_connector_add(struct drm_connector *connector) |