Re: [PATCH] PCI: constify pci_platform_pm_ops structure

2015-12-08 Thread Rafael J. Wysocki
On Monday, December 07, 2015 10:06:49 AM Bjorn Helgaas wrote: > On Mon, Dec 07, 2015 at 02:41:34AM +0100, Rafael J. Wysocki wrote: > > On Sunday, December 06, 2015 05:33:45 PM Julia Lawall wrote: > > > The pci_platform_pm_ops structure is never modified, so declare it as > > > const. > > > > > > D

Re: [PATCH] PCI: constify pci_platform_pm_ops structure

2015-12-07 Thread Bjorn Helgaas
On Mon, Dec 07, 2015 at 02:41:34AM +0100, Rafael J. Wysocki wrote: > On Sunday, December 06, 2015 05:33:45 PM Julia Lawall wrote: > > The pci_platform_pm_ops structure is never modified, so declare it as > > const. > > > > Done with the help of Coccinelle. > > > > Signed-off-by: Julia Lawall >

Re: [PATCH] PCI: constify pci_platform_pm_ops structure

2015-12-06 Thread Rafael J. Wysocki
On Sunday, December 06, 2015 05:33:45 PM Julia Lawall wrote: > The pci_platform_pm_ops structure is never modified, so declare it as > const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall OK Bjorn, do you want me to handle this one? > --- > drivers/pci/pci-acpi.c |

[PATCH] PCI: constify pci_platform_pm_ops structure

2015-12-06 Thread Julia Lawall
The pci_platform_pm_ops structure is never modified, so declare it as const. Done with the help of Coccinelle. Signed-off-by: Julia Lawall --- drivers/pci/pci-acpi.c |2 +- drivers/pci/pci.c |4 ++-- drivers/pci/pci.h |2 +- 3 files changed, 4 insertions(+), 4 deletions(-