[PATCH] PCI: Remove newline from pci MODALIAS variable

the pci core sends out a hotplug event variable MODALIAS with a trailing
newline. This is inconsistent with all other event variables and breaks
some hotplug tools. This patch removes the said newline.

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by Hannes Reinecke and committed by Greg Kroah-Hartman c6e21e16 5823d100

+1 -1
+1 -1
drivers/pci/hotplug.c
··· 54 55 envp[i++] = scratch; 56 length += scnprintf (scratch, buffer_size - length, 57 - "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x\n", 58 pdev->vendor, pdev->device, 59 pdev->subsystem_vendor, pdev->subsystem_device, 60 (u8)(pdev->class >> 16), (u8)(pdev->class >> 8),
··· 54 55 envp[i++] = scratch; 56 length += scnprintf (scratch, buffer_size - length, 57 + "MODALIAS=pci:v%08Xd%08Xsv%08Xsd%08Xbc%02Xsc%02Xi%02x", 58 pdev->vendor, pdev->device, 59 pdev->subsystem_vendor, pdev->subsystem_device, 60 (u8)(pdev->class >> 16), (u8)(pdev->class >> 8),