summaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorDavid Härdeman <david@hardeman.nu>2015-07-20 16:16:31 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-19 07:02:33 -0300
commit23f28f2adcf608170c9062b1f490c4f0dcc995e3 (patch)
tree7df62b8f41812e7c3ed761882c08b9914585705c /include/media
parent2fa3dc4ea7c1cdf4eed288de9a6cc5d3a8befddd (diff)
downloadop-kernel-dev-23f28f2adcf608170c9062b1f490c4f0dcc995e3.zip
op-kernel-dev-23f28f2adcf608170c9062b1f490c4f0dcc995e3.tar.gz
Revert "[media] rc: nuvoton-cir: Add support for writing wakeup samples via sysfs filter callback"
This reverts commit da7ee60b03bd66bb10974d7444aa444de6391312. The current code is not mature enough, the API should allow a single protocol to be specified. Also, the current code contains heuristics that will depend on module load order. Signed-off-by: David Härdeman <david@hardeman.nu> Acked-by: Antti Seppälä <a.seppala@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/rc-core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/media/rc-core.h b/include/media/rc-core.h
index 45534da5..df73d85 100644
--- a/include/media/rc-core.h
+++ b/include/media/rc-core.h
@@ -246,7 +246,6 @@ static inline void init_ir_raw_event(struct ir_raw_event *ev)
#define US_TO_NS(usec) ((usec) * 1000)
#define MS_TO_US(msec) ((msec) * 1000)
#define MS_TO_NS(msec) ((msec) * 1000 * 1000)
-#define NS_TO_US(nsec) DIV_ROUND_UP(nsec, 1000L)
void ir_raw_event_handle(struct rc_dev *dev);
int ir_raw_event_store(struct rc_dev *dev, struct ir_raw_event *ev);
OpenPOWER on IntegriCloud