Skip to content

Commit 3a75807

Browse files
afaerbergregkh
authored andcommitted
nvmem: core: Grammar fixes for help text
It's "an unsigned" but "a U". Similarly, "an entry" but "a binary entry". While at it, also drop superfluous articles for negative and zero. Signed-off-by: Andreas Färber <[email protected]> Signed-off-by: Srinivas Kandagatla <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 2eef018 commit 3a75807

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/nvmem/core.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ static int nvmem_add_cells_from_of(struct nvmem_device *nvmem)
573573

574574
/**
575575
* nvmem_register() - Register a nvmem device for given nvmem_config.
576-
* Also creates an binary entry in /sys/bus/nvmem/devices/dev-name/nvmem
576+
* Also creates a binary entry in /sys/bus/nvmem/devices/dev-name/nvmem
577577
*
578578
* @config: nvmem device configuration with which nvmem device is created.
579579
*
@@ -728,7 +728,7 @@ static void devm_nvmem_release(struct device *dev, void *res)
728728
/**
729729
* devm_nvmem_register() - Register a managed nvmem device for given
730730
* nvmem_config.
731-
* Also creates an binary entry in /sys/bus/nvmem/devices/dev-name/nvmem
731+
* Also creates a binary entry in /sys/bus/nvmem/devices/dev-name/nvmem
732732
*
733733
* @dev: Device that uses the nvmem device.
734734
* @config: nvmem device configuration with which nvmem device is created.
@@ -772,7 +772,7 @@ static int devm_nvmem_match(struct device *dev, void *res, void *data)
772772
* @dev: Device that uses the nvmem device.
773773
* @nvmem: Pointer to previously registered nvmem device.
774774
*
775-
* Return: Will be an negative on error or a zero on success.
775+
* Return: Will be negative on error or zero on success.
776776
*/
777777
int devm_nvmem_unregister(struct device *dev, struct nvmem_device *nvmem)
778778
{
@@ -1375,7 +1375,7 @@ static int nvmem_cell_read_common(struct device *dev, const char *cell_id,
13751375
}
13761376

13771377
/**
1378-
* nvmem_cell_read_u16() - Read a cell value as an u16
1378+
* nvmem_cell_read_u16() - Read a cell value as a u16
13791379
*
13801380
* @dev: Device that requests the nvmem cell.
13811381
* @cell_id: Name of nvmem cell to read.
@@ -1390,7 +1390,7 @@ int nvmem_cell_read_u16(struct device *dev, const char *cell_id, u16 *val)
13901390
EXPORT_SYMBOL_GPL(nvmem_cell_read_u16);
13911391

13921392
/**
1393-
* nvmem_cell_read_u32() - Read a cell value as an u32
1393+
* nvmem_cell_read_u32() - Read a cell value as a u32
13941394
*
13951395
* @dev: Device that requests the nvmem cell.
13961396
* @cell_id: Name of nvmem cell to read.
@@ -1405,7 +1405,7 @@ int nvmem_cell_read_u32(struct device *dev, const char *cell_id, u32 *val)
14051405
EXPORT_SYMBOL_GPL(nvmem_cell_read_u32);
14061406

14071407
/**
1408-
* nvmem_cell_read_u64() - Read a cell value as an u64
1408+
* nvmem_cell_read_u64() - Read a cell value as a u64
14091409
*
14101410
* @dev: Device that requests the nvmem cell.
14111411
* @cell_id: Name of nvmem cell to read.

0 commit comments

Comments
 (0)