Message ID | 20200724182328.3348-14-krzk@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | memory: Further cleanups | expand |
On Fri, Jul 24, 2020 at 08:23:25PM +0200, Krzysztof Kozlowski wrote: > 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 <krzk@kernel.org> > --- > drivers/memory/of_memory.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Applied to drivers/memory tree. Best regards, Krzysztof
diff --git a/drivers/memory/of_memory.c b/drivers/memory/of_memory.c index 67b811cb2cb9..d9f5437d3bce 100644 --- a/drivers/memory/of_memory.c +++ b/drivers/memory/of_memory.c @@ -18,7 +18,7 @@ /** * of_get_min_tck() - extract min timing values for ddr * @np: pointer to ddr device tree node - * @device: device requesting for min timing values + * @dev: device requesting for min timing values * * Populates the lpddr2_min_tck structure by extracting data * from device tree node. Returns a pointer to the populated @@ -155,7 +155,7 @@ EXPORT_SYMBOL(of_get_ddr_timings); /** * of_lpddr3_get_min_tck() - extract min timing values for lpddr3 * @np: pointer to ddr device tree node - * @device: device requesting for min timing values + * @dev: device requesting for min timing values * * Populates the lpddr3_min_tck structure by extracting data * from device tree node. Returns a pointer to the populated
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 <krzk@kernel.org> --- drivers/memory/of_memory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)