consumerir: Allow devices to override default configs

* This is cleaner than hacking up makefiles
* This brings us closer to what other hals
  in this repo are doing (e.g. lights, power)
  and this is done following their example
* As a note, haggertk suggested this when we
  added the inital unified hal, but I never
  got around to doing it

Change-Id: I7c911c5afc2b67308d7135b50a4863a6a9480035
Signed-off-by: Paul Keith <javelinanddart@gmail.com>
diff --git a/consumerir/consumerir.c b/consumerir/consumerir.c
index e41d447..f9ec588 100644
--- a/consumerir/consumerir.c
+++ b/consumerir/consumerir.c
@@ -28,27 +28,14 @@
 #include <string.h>
 #include <unistd.h>
 
+#include <samsung_consumerir.h>
+
 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
 #define UNUSED __attribute__((unused))
 
-#define IR_PATH "/sys/class/sec/sec_ir/ir_send"
-
 static int fd = 0;
 static pthread_mutex_t g_mtx;
 
-static const consumerir_freq_range_t consumerir_freqs[] = {
-#ifdef USE_ONE_FREQ_RANGE
-    {.min = 16000, .max = 60000},
-#else
-    {.min = 30000, .max = 30000},
-    {.min = 33000, .max = 33000},
-    {.min = 36000, .max = 36000},
-    {.min = 38000, .max = 38000},
-    {.min = 40000, .max = 40000},
-    {.min = 56000, .max = 56000},
-#endif
-};
-
 static bool try_append_number(char *buffer, int *len, int size, int number)
 {
     int stored;