HomeFreeBSD

linuxkpi: Add `sysfs_create_bin_file()` and `sysfs_remove_bin_file()`

Description

linuxkpi: Add sysfs_create_bin_file() and sysfs_remove_bin_file()

They are used by the i915 DRM driver for quite some time, but that code
was commented out. It was moved around in Linux 6.8, so instead of
figuring out what should be commented out now, let's add an
implementation of these functions.

Reviewed by: bz
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D49068

Details

Provenance
dumbbellAuthored on Feb 8 2025, 8:28 PM
Reviewer
bz
Differential Revision
D49068: linuxkpi: Add `sysfs_create_bin_file()` and `sysfs_remove_bin_file()`
Parents
rG46fc12741e70: tcp: cleanup
Branches
Unknown
Tags
Unknown