diff options
| author | Dinh Nguyen <dinguyen@kernel.org> | 2026-01-16 22:36:26 -0600 |
|---|---|---|
| committer | Xu Yilun <yilun.xu@linux.intel.com> | 2026-03-02 17:47:44 +0800 |
| commit | 26e5e1be2e640a562618c1aa03ed15b62bfbf2d6 (patch) | |
| tree | 087262edaac4dfeedf042ce5643148d82496685e /include/linux/debugobjects.h | |
| parent | 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f (diff) | |
fpga: bridge: Use sysfs_emit() instead of sprintf()
According to Documentation/filesystems/sysfs.rst, show() functions
should use sysfs_emit() when formatting the value to be returned to user
space.
This keeps consistent usage of sysfs_emit() across the same file.
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
[ Yilun: clarify the necessity of the change in changelog ]
Reviewed-by: Xu Yilun <yilun.xu@intel.com>
Link: https://lore.kernel.org/r/20260117043626.2188219-1-dinguyen@kernel.org
Signed-off-by: Xu Yilun <yilun.xu@linux.intel.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
