linux/drivers/leds/leds-pm8058.c

// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2010, 2011, 2016 The Linux Foundation. All rights reserved.
 */
#include <linux/leds.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
#include <linux/regmap.h>

#define PM8058_LED_TYPE_COMMON
#define PM8058_LED_TYPE_KEYPAD
#define PM8058_LED_TYPE_FLASH

#define PM8058_LED_TYPE_COMMON_MASK
#define PM8058_LED_TYPE_KEYPAD_MASK
#define PM8058_LED_TYPE_COMMON_SHIFT
#define PM8058_LED_TYPE_KEYPAD_SHIFT

struct pm8058_led {};

static void pm8058_led_set(struct led_classdev *cled,
	enum led_brightness value)
{}

static enum led_brightness pm8058_led_get(struct led_classdev *cled)
{}

static int pm8058_led_probe(struct platform_device *pdev)
{}

static const struct of_device_id pm8058_leds_id_table[] =;
MODULE_DEVICE_TABLE(of, pm8058_leds_id_table);

static struct platform_driver pm8058_led_driver =;
module_platform_driver();

MODULE_DESCRIPTION();
MODULE_LICENSE();
MODULE_ALIAS();