Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 995834eb authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

USB: cypress_m8.h: checkpatch cleanups



Minor whitespace cleanups to make checkpatch happy.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 1689e993
Loading
Loading
Loading
Loading
+29 −24
Original line number Original line Diff line number Diff line
#ifndef CYPRESS_M8_H
#ifndef CYPRESS_M8_H
#define CYPRESS_M8_H
#define CYPRESS_M8_H


/* definitions and function prototypes used for the cypress USB to Serial controller */
/*
 * definitions and function prototypes used for the cypress USB to Serial
 * controller
 */


/* For sending our feature buffer - controlling serial communication states */
/*
/* Linux HID has no support for serial devices so we do this through the driver */
 * For sending our feature buffer - controlling serial communication states.
 * Linux HID has no support for serial devices so we do this through the driver
 */
#define HID_REQ_GET_REPORT	0x01
#define HID_REQ_GET_REPORT	0x01
#define HID_REQ_SET_REPORT	0x09
#define HID_REQ_SET_REPORT	0x09


@@ -36,10 +41,10 @@
#define THROTTLED		0x1
#define THROTTLED		0x1
#define ACTUALLY_THROTTLED	0x2
#define ACTUALLY_THROTTLED	0x2


/* chiptypes - used in case firmware differs from the generic form ... offering
/*
 * chiptypes - used in case firmware differs from the generic form ... offering
 * different baud speeds/etc.
 * different baud speeds/etc.
 */
 */

#define CT_EARTHMATE	0x01
#define CT_EARTHMATE	0x01
#define CT_CYPHIDCOM	0x02
#define CT_CYPHIDCOM	0x02
#define CT_CA42V2	0x03
#define CT_CA42V2	0x03