Loading
HID: playstation: Prefer kzalloc(sizeof(*buf)...)
Use the shorter variant as suggested by checkpatch.pl: CHECK: Prefer kzalloc(sizeof(*buf)...) over kzalloc(sizeof(struct dualsense_output_report_bt)...) This also improves further maintainability. Signed-off-by:Cristian Ciocaltea <cristian.ciocaltea@collabora.com> Reviewed-by:
Benjamin Tissoires <bentiss@kernel.org> Tested-by:
Benjamin Tissoires <bentiss@kernel.org> Signed-off-by:
Jiri Kosina <jkosina@suse.com>