[PATCH 4/5] power: avs: smartreflex: Remove superfluous cast in debugfs_create_file() call

Greg Kroah-Hartman gregkh at linuxfoundation.org
Fri Nov 8 22:37:05 AEDT 2019


On Fri, Nov 08, 2019 at 12:24:42PM +0100, Rafael J. Wysocki wrote:
> On Monday, October 21, 2019 4:51:48 PM CET Geert Uytterhoeven wrote:
> > There is no need to cast a typed pointer to a void pointer when calling
> > a function that accepts the latter.  Remove it, as the cast prevents
> > further compiler checks.
> > 
> > Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
> 
> Greg, have you taken this one by any chance?

Nope, it's all yours!  :)



More information about the Linuxppc-dev mailing list