projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'dma-mapping-5.15' of git://git.infradead.org/users/hch/dma-mapping
[linux-2.6-microblaze.git]
/
drivers
/
counter
/
intel-qep.c
diff --git
a/drivers/counter/intel-qep.c
b/drivers/counter/intel-qep.c
index
8d7ae28
..
8a6847d
100644
(file)
--- a/
drivers/counter/intel-qep.c
+++ b/
drivers/counter/intel-qep.c
@@
-8,7
+8,6
@@
* Author: Jarkko Nikula <jarkko.nikula@linux.intel.com>
* Author: Raymond Tan <raymond.tan@intel.com>
*/
* Author: Jarkko Nikula <jarkko.nikula@linux.intel.com>
* Author: Raymond Tan <raymond.tan@intel.com>
*/
-#include <linux/bitops.h>
#include <linux/counter.h>
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/counter.h>
#include <linux/kernel.h>
#include <linux/module.h>
@@
-127,8
+126,8
@@
static int intel_qep_count_read(struct counter_device *counter,
return 0;
}
return 0;
}
-static const enum counter_
count_
function intel_qep_count_functions[] = {
- COUNTER_
COUNT_
FUNCTION_QUADRATURE_X4,
+static const enum counter_function intel_qep_count_functions[] = {
+ COUNTER_FUNCTION_QUADRATURE_X4,
};
static int intel_qep_function_get(struct counter_device *counter,
};
static int intel_qep_function_get(struct counter_device *counter,
@@
-320,7
+319,7
@@
static ssize_t spike_filter_ns_write(struct counter_device *counter,
}
if (length > INTEL_QEPFLT_MAX_COUNT(length))
}
if (length > INTEL_QEPFLT_MAX_COUNT(length))
- return -E
INVAL
;
+ return -E
RANGE
;
mutex_lock(&qep->lock);
if (qep->enabled) {
mutex_lock(&qep->lock);
if (qep->enabled) {