mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-28 12:53:14 +01:00
This is needed to inline these helpers into Rust code. Signed-off-by: Alice Ryhl <[email protected]> Acked-by: Michal Wilczynski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Uwe Kleine-König <[email protected]>
21 lines
528 B
C
21 lines
528 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
// Copyright (c) 2025 Samsung Electronics Co., Ltd.
|
|
// Author: Michal Wilczynski <[email protected]>
|
|
|
|
#include <linux/pwm.h>
|
|
|
|
__rust_helper struct device *rust_helper_pwmchip_parent(const struct pwm_chip *chip)
|
|
{
|
|
return pwmchip_parent(chip);
|
|
}
|
|
|
|
__rust_helper void *rust_helper_pwmchip_get_drvdata(struct pwm_chip *chip)
|
|
{
|
|
return pwmchip_get_drvdata(chip);
|
|
}
|
|
|
|
__rust_helper void rust_helper_pwmchip_set_drvdata(struct pwm_chip *chip, void *data)
|
|
{
|
|
pwmchip_set_drvdata(chip, data);
|
|
}
|