Skip to content

Commit

Permalink
ipts: Cleanup ipts-state.h to pass checkpatch
Browse files Browse the repository at this point in the history
Signed-off-by: Dorian Stoll <dorian.stoll@tmsp.io>
  • Loading branch information
StollD committed Nov 5, 2019
1 parent 05f51be commit 4aaed39
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions drivers/misc/ipts/ipts-state.h
Original file line number Diff line number Diff line change
@@ -1,29 +1,22 @@
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Intel Precise Touch & Stylus state codes
*
* Copyright (c) 2016, Intel Corporation.
* Intel Precise Touch & Stylus
* Copyright (c) 2016 Intel Corporation
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*/

#ifndef _IPTS_STATE_H_
#define _IPTS_STATE_H_

/* ipts driver states */
typedef enum ipts_state {
// IPTS driver states
enum ipts_state {
IPTS_STA_NONE,
IPTS_STA_INIT,
IPTS_STA_RESOURCE_READY,
IPTS_STA_HID_STARTED,
IPTS_STA_RAW_DATA_STARTED,
IPTS_STA_STOPPING
} ipts_state_t;
};

#endif // _IPTS_STATE_H_

0 comments on commit 4aaed39

Please sign in to comment.