diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2019-02-18 11:36:48 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-19 07:20:35 -0500 |
commit | e4246b05507fc6102008bac0aee848f207bd96de (patch) | |
tree | 6401e8848f2ce506db3060c3b652ef148206ea1c /drivers/base/component.c | |
parent | 1ea61b68d0f8685775c897c2de040c73b8d1c56a (diff) |
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>
Diffstat (limited to 'drivers/base/component.c')
-rw-r--r-- | drivers/base/component.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/drivers/base/component.c b/drivers/base/component.c index 7dbc41cccd58..532a3a5d8f63 100644 --- a/drivers/base/component.c +++ b/drivers/base/component.c | |||
@@ -27,7 +27,7 @@ | |||
27 | * helper fills the niche of aggregate drivers for specific hardware, where | 27 | * helper fills the niche of aggregate drivers for specific hardware, where |
28 | * further standardization into a subsystem would not be practical. The common | 28 | * further standardization into a subsystem would not be practical. The common |
29 | * example is when a logical device (e.g. a DRM display driver) is spread around | 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 | * for various outputs and so on). | 31 | * for various outputs and so on). |
32 | * | 32 | * |
33 | * The component helper also doesn't solve runtime dependencies, e.g. for system | 33 | * The component helper also doesn't solve runtime dependencies, e.g. for system |
@@ -378,7 +378,7 @@ static void __component_match_add(struct device *master, | |||
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 | * @master: device with the aggregate driver | 382 | * @master: device with the aggregate driver |
383 | * @matchptr: pointer to the list of component matches | 383 | * @matchptr: pointer to the list of component matches |
384 | * @release: release function for @compare_data | 384 | * @release: release function for @compare_data |
@@ -408,7 +408,7 @@ void component_match_add_release(struct device *master, | |||
408 | EXPORT_SYMBOL(component_match_add_release); | 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 | * @master: device with the aggregate driver | 412 | * @master: device with the aggregate driver |
413 | * @matchptr: pointer to the list of component matches | 413 | * @matchptr: pointer to the list of component matches |
414 | * @compare_typed: compare function to match against all typed components | 414 | * @compare_typed: compare function to match against all typed components |
@@ -537,11 +537,11 @@ static void component_unbind(struct component *component, | |||
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 | * @master_dev: device with the aggregate driver | 541 | * @master_dev: device with the aggregate driver |
542 | * @data: opaque pointer, passed to all components | 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 | * &component_ops.unbind functions. Should be called from | 545 | * &component_ops.unbind functions. Should be called from |
546 | * &component_master_ops.unbind. | 546 | * &component_master_ops.unbind. |
547 | */ | 547 | */ |
@@ -619,11 +619,11 @@ static int component_bind(struct component *component, struct master *master, | |||
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 | * @master_dev: device with the aggregate driver | 623 | * @master_dev: device with the aggregate driver |
624 | * @data: opaque pointer, passed to all components | 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 | * &component_ops.bind functions. Should be called from | 627 | * &component_ops.bind functions. Should be called from |
628 | * &component_master_ops.bind. | 628 | * &component_master_ops.bind. |
629 | */ | 629 | */ |