misc: xilinx_sdfec: add compat_ptr_ioctl()

Driver has a trivial helper function to convert
the pointer argument and then call the native ioctl handler.
But now we have a generic implementation for that, so we can use it.

Signed-off-by: Harshal Chaudhari <harshalchau04@gmail.com>
Link: https://lore.kernel.org/r/20201026155801.16053-1-harshalchau04@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Harshal Chaudhari 2020-10-26 21:28:01 +05:30 • committed by Greg Kroah-Hartman
commit 3f7566f494