DECL_AUTOCONF_DEVICE macro to clean code