diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-03-04 01:34:39 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-03-08 00:47:35 +0300 |
commit | 4a055328414cb511e12b2c54c8b26c1ba4645ae8 (patch) | |
tree | 7759e5cd86cf8f4a4d5d34c47447466e26ecf978 /drivers/cdx/controller/cdx_controller.c | |
parent | a13bd6f3c936edff957f2d02cf65c44046cb1243 (diff) | |
download | linux-4a055328414cb511e12b2c54c8b26c1ba4645ae8.tar.xz |
char: xilinx_hwicap: drop casting to void in dev_set_drvdata
The C standard specifies that there is no need to cast from a pointer to
void [1]. Therefore, it can be safely dropped.
[1] C Standard Committee: https://c0x.shape-of-code.com/6.3.2.3.html
Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com>
Link: https://lore.kernel.org/r/20240303-void_in_dev_set_drvdata-v1-1-ae39027d740b@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions