]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/eeh: Cleanup eeh_add_virt_device()
authorSam Bobroff <sbobroff@linux.ibm.com>
Wed, 12 Sep 2018 01:23:25 +0000 (11:23 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Sat, 13 Oct 2018 11:21:25 +0000 (22:21 +1100)
commit48d680c376633eee5216ef3145a8bc817a00c82d
treefad5eea34bfe66f631f769897a7f45d58b7602f7
parent4b1ddfaa68e7db3768e869f477bb6d1eacf377c7
powerpc/eeh: Cleanup eeh_add_virt_device()

Remove the unnecessary cast through void * on the first parameter and
remove the unused second parameter (always NULL).

Signed-off-by: Sam Bobroff <sbobroff@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/eeh_driver.c