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

drivers/component: kerneldoc polish

Polish the kerneldoc a bit with suggestions from Randy.

v2: Randy found another typo: s/compent/component/

Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Cc: "Rafael J. Wysocki" <rafael@kernel.org>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: Ramalingam C <ramalingam.c@intel.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Daniel Vetter and committed by
Greg Kroah-Hartman
e4246b05 1ea61b68

+8 -8
+7 -7
drivers/base/component.c
··· 27 27 * helper fills the niche of aggregate drivers for specific hardware, where 28 28 * further standardization into a subsystem would not be practical. The common 29 29 * example is when a logical device (e.g. a DRM display driver) is spread around 30 - * the SoC on various component (scanout engines, blending blocks, transcoders 30 + * the SoC on various components (scanout engines, blending blocks, transcoders 31 31 * for various outputs and so on). 32 32 * 33 33 * The component helper also doesn't solve runtime dependencies, e.g. for system ··· 378 378 } 379 379 380 380 /** 381 - * component_match_add_release - add a component match with release callback 381 + * component_match_add_release - add a component match entry with release callback 382 382 * @master: device with the aggregate driver 383 383 * @matchptr: pointer to the list of component matches 384 384 * @release: release function for @compare_data ··· 408 408 EXPORT_SYMBOL(component_match_add_release); 409 409 410 410 /** 411 - * component_match_add_typed - add a compent match for a typed component 411 + * component_match_add_typed - add a component match entry for a typed component 412 412 * @master: device with the aggregate driver 413 413 * @matchptr: pointer to the list of component matches 414 414 * @compare_typed: compare function to match against all typed components ··· 537 537 } 538 538 539 539 /** 540 - * component_unbind_all - unbind all component to an aggregate driver 540 + * component_unbind_all - unbind all components of an aggregate driver 541 541 * @master_dev: device with the aggregate driver 542 542 * @data: opaque pointer, passed to all components 543 543 * 544 - * Unbinds all components to the aggregate @dev by passing @data to their 544 + * Unbinds all components of the aggregate @dev by passing @data to their 545 545 * &component_ops.unbind functions. Should be called from 546 546 * &component_master_ops.unbind. 547 547 */ ··· 619 619 } 620 620 621 621 /** 622 - * component_bind_all - bind all component to an aggregate driver 622 + * component_bind_all - bind all components of an aggregate driver 623 623 * @master_dev: device with the aggregate driver 624 624 * @data: opaque pointer, passed to all components 625 625 * 626 - * Binds all components to the aggregate @dev by passing @data to their 626 + * Binds all components of the aggregate @dev by passing @data to their 627 627 * &component_ops.bind functions. Should be called from 628 628 * &component_master_ops.bind. 629 629 */
+1 -1
include/linux/component.h
··· 98 98 int (*compare_typed)(struct device *, int, void *), void *compare_data); 99 99 100 100 /** 101 - * component_match_add - add a compent match 101 + * component_match_add - add a component match entry 102 102 * @master: device with the aggregate driver 103 103 * @matchptr: pointer to the list of component matches 104 104 * @compare: compare function to match against all components