commit | e8ffda78623677f7935b30901a173405b4861bda | [log] [tgz] |
---|---|---|
author | Shawn Guo <shawn.guo@linaro.org> | Sun Jul 30 09:23:11 2017 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Sun Aug 20 09:49:18 2017 -0400 |
tree | bb728024aa0607541546d1ed35bcd8a27af3c46c | |
parent | a2df9d064336ba62b810639114c06b2b0bfe3e0b [diff] |
media: rc: ir-nec-decoder: move scancode composing code into a shared function The NEC scancode composing and protocol type detection in ir_nec_decode() is generic enough to be a shared function. Let's create an inline function in rc-core.h, so that other remote control drivers can reuse this function to save some code. Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Sean Young <sean@mess.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>