This macro is only used one place, let's inline it instead to save a
line or two.
Cc: Prashant Malani <pmalani@chromium.org>
Cc: Tzung-Bi Shih <tzungbi@kernel.org>
Signed-off-by: Stephen Boyd <swboyd@chromium.org>
Acked-by: Prashant Malani <pmalani@chromium.org>
Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Link: https://lore.kernel.org/r/20220830225831.2362403-5-swboyd@chromium.org
#include <linux/usb/typec_mux.h>
#include <linux/usb/typec_retimer.h>
-#define DRV_NAME "cros-typec-switch"
-
/* Handles and other relevant data required for each port's switches. */
struct cros_typec_port {
int port_num;
static struct platform_driver cros_typec_switch_driver = {
.driver = {
- .name = DRV_NAME,
+ .name = "cros-typec-switch",
.acpi_match_table = ACPI_PTR(cros_typec_switch_acpi_id),
},
.probe = cros_typec_switch_probe,