devres: constify p in devm_kfree()
Make devm_kfree() signature uniform with that of kfree(). To avoid compiler warnings: cast p to (void *) when calling devres_destroy(). Signed-off-by: NBartosz Golaszewski <brgl@bgdev.pl> Reviewed-by: NBjorn Andersson <bjorn.andersson@linaro.org> Reviewed-by: NGeert Uytterhoeven <geert+renesas@glider.be> Acked-by: NRasmus Villemoes <linux@rasmusvillemoes.dk> Reviewed-by: NAndy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Showing
想要评论请 注册 或 登录