sysfs: Rename struct bin_attribute member to f_mapping
authorKrzysztof Wilczyński <kw@linux.com>
Thu, 29 Jul 2021 23:32:35 +0000 (23:32 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 5 Aug 2021 12:47:31 +0000 (14:47 +0200)
commitf06aff924f975881a6abf91d2af0078fc8cd37bf
treece443eacec7cd8623cd187fae0c668f68b6bebcc
parent93bb8e352a9136a56dd26762bf54cf6554cfa96c
sysfs: Rename struct bin_attribute member to f_mapping

There are two users of iomem_get_mapping(), the struct file and struct
bin_attribute.  The former has a member called "f_mapping" and the
latter has a member called "mapping", and both are poniters to struct
address_space.

Rename struct bin_attribute member to "f_mapping" to keep both meaning
and the usage consistent with other users of iomem_get_mapping().

Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Krzysztof Wilczyński <kw@linux.com>
Link: https://lore.kernel.org/r/20210729233235.1508920-3-kw@linux.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/pci/pci-sysfs.c
fs/sysfs/file.c
include/linux/sysfs.h