Commit e4246b05 authored by Daniel Vetter's avatar Daniel Vetter Committed by Greg Kroah-Hartman

drivers/component: kerneldoc polish

Polish the kerneldoc a bit with suggestions from Randy.

v2: Randy found another typo: s/compent/component/
Signed-off-by: default avatarDaniel 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: default avatarRandy Dunlap <rdunlap@infradead.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 1ea61b68
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
* helper fills the niche of aggregate drivers for specific hardware, where * helper fills the niche of aggregate drivers for specific hardware, where
* further standardization into a subsystem would not be practical. The common * further standardization into a subsystem would not be practical. The common
* example is when a logical device (e.g. a DRM display driver) is spread around * example is when a logical device (e.g. a DRM display driver) is spread around
* the SoC on various component (scanout engines, blending blocks, transcoders * the SoC on various components (scanout engines, blending blocks, transcoders
* for various outputs and so on). * for various outputs and so on).
* *
* The component helper also doesn't solve runtime dependencies, e.g. for system * 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,7 +378,7 @@ static void __component_match_add(struct device *master,
} }
/** /**
* component_match_add_release - add a component match with release callback * component_match_add_release - add a component match entry with release callback
* @master: device with the aggregate driver * @master: device with the aggregate driver
* @matchptr: pointer to the list of component matches * @matchptr: pointer to the list of component matches
* @release: release function for @compare_data * @release: release function for @compare_data
...@@ -408,7 +408,7 @@ void component_match_add_release(struct device *master, ...@@ -408,7 +408,7 @@ void component_match_add_release(struct device *master,
EXPORT_SYMBOL(component_match_add_release); EXPORT_SYMBOL(component_match_add_release);
/** /**
* component_match_add_typed - add a compent match for a typed component * component_match_add_typed - add a component match entry for a typed component
* @master: device with the aggregate driver * @master: device with the aggregate driver
* @matchptr: pointer to the list of component matches * @matchptr: pointer to the list of component matches
* @compare_typed: compare function to match against all typed components * @compare_typed: compare function to match against all typed components
...@@ -537,11 +537,11 @@ static void component_unbind(struct component *component, ...@@ -537,11 +537,11 @@ static void component_unbind(struct component *component,
} }
/** /**
* component_unbind_all - unbind all component to an aggregate driver * component_unbind_all - unbind all components of an aggregate driver
* @master_dev: device with the aggregate driver * @master_dev: device with the aggregate driver
* @data: opaque pointer, passed to all components * @data: opaque pointer, passed to all components
* *
* Unbinds all components to the aggregate @dev by passing @data to their * Unbinds all components of the aggregate @dev by passing @data to their
* &component_ops.unbind functions. Should be called from * &component_ops.unbind functions. Should be called from
* &component_master_ops.unbind. * &component_master_ops.unbind.
*/ */
...@@ -619,11 +619,11 @@ static int component_bind(struct component *component, struct master *master, ...@@ -619,11 +619,11 @@ static int component_bind(struct component *component, struct master *master,
} }
/** /**
* component_bind_all - bind all component to an aggregate driver * component_bind_all - bind all components of an aggregate driver
* @master_dev: device with the aggregate driver * @master_dev: device with the aggregate driver
* @data: opaque pointer, passed to all components * @data: opaque pointer, passed to all components
* *
* Binds all components to the aggregate @dev by passing @data to their * Binds all components of the aggregate @dev by passing @data to their
* &component_ops.bind functions. Should be called from * &component_ops.bind functions. Should be called from
* &component_master_ops.bind. * &component_master_ops.bind.
*/ */
......
...@@ -98,7 +98,7 @@ void component_match_add_typed(struct device *master, ...@@ -98,7 +98,7 @@ void component_match_add_typed(struct device *master,
int (*compare_typed)(struct device *, int, void *), void *compare_data); int (*compare_typed)(struct device *, int, void *), void *compare_data);
/** /**
* component_match_add - add a compent match * component_match_add - add a component match entry
* @master: device with the aggregate driver * @master: device with the aggregate driver
* @matchptr: pointer to the list of component matches * @matchptr: pointer to the list of component matches
* @compare: compare function to match against all components * @compare: compare function to match against all components
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment