Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

acpi: bgrt: fix build error due to attribute change

No need to call sysfs_bin_attr_init, as the attribute is not dynamically
created. Also, we renamed the attribute, so this one isn't even valid
anymore.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Len Brown <lenb@kernel.org>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

-1
-1
drivers/acpi/bgrt.c
··· 86 86 if (!bgrt_image) 87 87 return -ENODEV; 88 88 89 - sysfs_bin_attr_init(&image_attr); 90 89 bin_attr_image.private = bgrt_image; 91 90 bin_attr_image.size = bgrt_image_size; 92 91