Remove config.h

The intent behind this commit is to define `BUSNAME`, `OBJPATH` and
`DEVPATH` variables in the main method, because they do not need and
absolutely have no reason to use autotools to configure them,
so remove config.h.

Tested: built phsphor-led-sysfs successfully and worked.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ic8a7309dc58694fef94a2a7a6b8d4e53f92df5db
diff --git a/configure.ac b/configure.ac
index 65942b6..6862e7a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,18 +116,6 @@
     [AM_CONDITIONAL(AUTOCONF_CODE_COVERAGE_2019_01_06, [false])])
 AX_ADD_AM_MACRO_STATIC([])
 
-AC_ARG_VAR(BUSNAME, [The Dbus busname to own])
-AS_IF([test "x$BUSNAME" == "x"], [BUSNAME="xyz.openbmc_project.LED.Controller"])
-AC_DEFINE_UNQUOTED([BUSNAME], ["$BUSNAME"], [The Dbus busname to own])
-AC_ARG_VAR(OBJPATH, [The physical LED controller Dbus root])
-AS_IF([test "x$OBJPATH" == "x"], [OBJPATH="/xyz/openbmc_project/led/physical"])
-AC_DEFINE_UNQUOTED([OBJPATH], ["$OBJPATH"], [The physical LED controller Dbus root])
-
-# Platform device path for led subsystem.
-AC_ARG_VAR(DEVPATH, [Physical led device path])
-AS_IF([test "x$DEVPATH" == "x"], [DEVPATH="/sys/class/leds/"])
-AC_DEFINE_UNQUOTED([DEVPATH], ["$DEVPATH"], [Physical led device path])
-
 # Create configured output
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
diff --git a/controller.cpp b/controller.cpp
index c9f736d..78fd316 100644
--- a/controller.cpp
+++ b/controller.cpp
@@ -14,8 +14,6 @@
  * limitations under the License.
  */
 
-#include "config.h"
-
 #include "argument.hpp"
 #include "physical.hpp"
 #include "sysfs.hpp"
@@ -84,6 +82,9 @@
 int main(int argc, char** argv)
 {
     namespace fs = std::filesystem;
+    static constexpr auto BUSNAME = "xyz.openbmc_project.LED.Controller";
+    static constexpr auto OBJPATH = "/xyz/openbmc_project/led/physical";
+    static constexpr auto DEVPATH = "/sys/class/leds/";
 
     // Read arguments.
     auto options = phosphor::led::ArgumentParser(argc, argv);