Skip to content

Commit 46c7111

Browse files
committed
memory: of: Correct kerneldoc
Use proper kerneldoc to fix GCC warnings like: drivers/memory/of_memory.c:30: warning: Function parameter or member 'dev' not described in 'of_get_min_tck' Signed-off-by: Krzysztof Kozlowski <[email protected]>
1 parent 858432c commit 46c7111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/memory/of_memory.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
/**
1919
* of_get_min_tck() - extract min timing values for ddr
2020
* @np: pointer to ddr device tree node
21-
* @device: device requesting for min timing values
21+
* @dev: device requesting for min timing values
2222
*
2323
* Populates the lpddr2_min_tck structure by extracting data
2424
* from device tree node. Returns a pointer to the populated
@@ -155,7 +155,7 @@ EXPORT_SYMBOL(of_get_ddr_timings);
155155
/**
156156
* of_lpddr3_get_min_tck() - extract min timing values for lpddr3
157157
* @np: pointer to ddr device tree node
158-
* @device: device requesting for min timing values
158+
* @dev: device requesting for min timing values
159159
*
160160
* Populates the lpddr3_min_tck structure by extracting data
161161
* from device tree node. Returns a pointer to the populated

0 commit comments

Comments
 (0)