mtd: powernv_flash: fix kernel-doc for powernv_flash_release
Subsystems (2)
PATCH 1/1 mtd: powernv_flash: fix kernel-doc for powernv_flash_release
The function is powernv_flash_release, not op_release. Update the kernel-doc comment to match.
Fixes W=1 warning:
Warning: drivers/mtd/devices/powernv_flash.c:271 expecting prototype for op_release(). Prototype was for powernv_flash_release() instead
--- drivers/mtd/devices/powernv_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/devices/powernv_flash.c +1 -1
@@ -263,7 +263,7 @@ static int powernv_flash_probe(struct platform_device *pdev) }/** -* op_release - Release the driver +* powernv_flash_release - Release the driver * @pdev: the platform device * * Returns 0
Signature · 1 line
2.55.0
Quoted 5 lines · Rosen Penev
The function is
powernv_flash_release, notop_release. Update the kernel-doc comment to match.Fixes W=1 warning:
Quoted 7 lines
Warning:
drivers/mtd/devices/powernv_flash.c:271expecting prototype forop_release(). Prototype was forpowernv_flash_release()insteadAssisted-by Opencode:BigPickleSigned-off-by Rosen Penev <[email protected]>--- drivers/mtd/devices/powernv_flash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
LGTM. Please feel free to add:
Quoted 8 lines · Rosen Penev
The function is
powernv_flash_release, notop_release. Update the kernel-doc comment to match.Fixes W=1 warning:
Warning:
drivers/mtd/devices/powernv_flash.c:271expecting prototype forop_release(). Prototype was forpowernv_flash_release()instead[...]
Applied to mtd/next, thanks!
[1/1] mtd: powernv_flash: fix kernel-doc for powernv_flash_release
commit: 673f0a002d60701af888d2280543b7556c0c2b20
Patche(s) should be available on mtd/linux.git and will be part of the next PR (provided that no robot complains by then).
Kind regards,
Miquèl