linux/drivers/regulator/regnl.h
Naresh Solanki 16e5ac127d
regulator: event: Add regulator netlink event support
This commit introduces netlink event support to the regulator subsystem.

Changes:
- Introduce event.c and regnl.h for netlink event handling.
- Implement reg_generate_netlink_event to broadcast regulator events.
- Update Makefile to include the new event.c file.

Signed-off-by: Naresh Solanki <naresh.solanki@9elements.com>
Link: https://lore.kernel.org/r/20231205105207.1262928-1-naresh.solanki@9elements.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-12-06 13:14:54 +00:00

14 lines
278 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Regulator event over netlink
*
* Author: Naresh Solanki <Naresh.Solanki@9elements.com>
*/
#ifndef __REGULATOR_EVENT_H
#define __REGULATOR_EVENT_H
int reg_generate_netlink_event(const char *reg_name, u64 event);
#endif