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

Configure Feed

Select the types of activity you want to include in your feed.

firmware: arm_scpi: Fix kernel doc warnings

Kernel doc validation script is unhappy and complains with the below set
of warnings.

| Function parameter or member 'device_domain_id' not described in 'scpi_ops'
| Function parameter or member 'get_transition_latency' not described in 'scpi_ops'
| Function parameter or member 'add_opps_to_device' not described in 'scpi_ops'
| Function parameter or member 'sensor_get_capability' not described in 'scpi_ops'
| Function parameter or member 'sensor_get_info' not described in 'scpi_ops'
| Function parameter or member 'sensor_get_value' not described in 'scpi_ops'
| Function parameter or member 'device_get_power_state' not described in 'scpi_ops'
| Function parameter or member 'device_set_power_state' not described in 'scpi_ops'

Fix them adding appropriate documents or missing keywords.

Link: https://lore.kernel.org/r/20210712130801.2436492-1-sudeep.holla@arm.com
Reviewed-by: Cristian Marussi <cristian.marussi@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>

+8
+8
include/linux/scpi_protocol.h
··· 51 51 * OPP is an index to the list return by @dvfs_get_info 52 52 * @dvfs_get_info: returns the DVFS capabilities of the given power 53 53 * domain. It includes the OPP list and the latency information 54 + * @device_domain_id: gets the scpi domain id for a given device 55 + * @get_transition_latency: gets the DVFS transition latency for a given device 56 + * @add_opps_to_device: adds all the OPPs for a given device 57 + * @sensor_get_capability: get the list of capabilities for the sensors 58 + * @sensor_get_info: get the information of the specified sensor 59 + * @sensor_get_value: gets the current value of the sensor 60 + * @device_get_power_state: gets the power state of a power domain 61 + * @device_set_power_state: sets the power state of a power domain 54 62 */ 55 63 struct scpi_ops { 56 64 u32 (*get_version)(void);