#include <linux/device.h>
#include <linux/module.h>
#include <linux/mfd/lm3533.h>
#define LM3533_MAX_CURRENT_MIN …
#define LM3533_MAX_CURRENT_MAX …
#define LM3533_MAX_CURRENT_STEP …
#define LM3533_PWM_MAX …
#define LM3533_REG_PWM_BASE …
#define LM3533_REG_MAX_CURRENT_BASE …
#define LM3533_REG_CTRLBANK_ENABLE …
#define LM3533_REG_BRIGHTNESS_BASE …
static inline u8 lm3533_ctrlbank_get_reg(struct lm3533_ctrlbank *cb, u8 base)
{ … }
int lm3533_ctrlbank_enable(struct lm3533_ctrlbank *cb)
{ … }
EXPORT_SYMBOL_GPL(…);
int lm3533_ctrlbank_disable(struct lm3533_ctrlbank *cb)
{ … }
EXPORT_SYMBOL_GPL(…);
int lm3533_ctrlbank_set_max_current(struct lm3533_ctrlbank *cb, u16 imax)
{ … }
EXPORT_SYMBOL_GPL(…);
int lm3533_ctrlbank_set_brightness(struct lm3533_ctrlbank *cb, u8 val)
{ … }
EXPORT_SYMBOL_GPL(…);
int lm3533_ctrlbank_get_brightness(struct lm3533_ctrlbank *cb, u8 *val)
{ … }
EXPORT_SYMBOL_GPL(…);
int lm3533_ctrlbank_set_pwm(struct lm3533_ctrlbank *cb, u8 val)
{ … }
EXPORT_SYMBOL_GPL(…);
int lm3533_ctrlbank_get_pwm(struct lm3533_ctrlbank *cb, u8 *val)
{ … }
EXPORT_SYMBOL_GPL(…);
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;