From: Fabio Estevam Date: Fri, 7 Oct 2022 14:35:53 +0000 (-0300) Subject: mtd: Update the function name to 'rfree' X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=7676811867b54d4cb7b3356505d41511614884f3;p=u-boot.git mtd: Update the function name to 'rfree' Since commit 8d38a8459b0d ("mtd: Rename free() to rfree()") the function has been renamed to rfree(), so update the description inside the mtd_oob_region structure as well. Fixes: 8d38a8459b0d ("mtd: Rename free() to rfree()") Reported-by: Mikhail Kshevetskiy Signed-off-by: Fabio Estevam Acked-by: Michael Trimarchi Reviewed-by: Dario Binacchi Signed-off-by: Dario Binacchi --- diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h index ff635bd716..09f5269887 100644 --- a/include/linux/mtd/mtd.h +++ b/include/linux/mtd/mtd.h @@ -122,7 +122,7 @@ struct mtd_oob_region { * @ecc: function returning an ECC region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * ECC sections. - * @free: function returning a free region in the OOB area. + * @rfree: function returning a free region in the OOB area. * Should return -ERANGE if %section exceeds the total number of * free sections. */