aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-08-07 00:03:53 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-08-07 00:03:53 -0400
commit158c12948f3012fbe15f066f308db23502d3db0a (patch)
tree7ff4843e1818ebf4a3d0877a3db8756327719fa2 /drivers
parent172bfe09dc52aef29f9c5c0bd9f77a558120faf4 (diff)
parent51a7097426f2243e192df4979c2bf197e6f2ce61 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
Pull trivial tree changes from Jiri Kosina: "Summer edition of trivial tree updates" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (23 commits) doc: fix two typos in watchdog-api.txt irq-gic: remove file name from heading comment MAINTAINERS: Add miscdevice.h to file list for char/misc drivers. scsi: mvsas: mv_sas.c: Fix for possible null pointer dereference doc: replace "practise" with "practice" in Documentation befs: remove check for CONFIG_BEFS_RW scsi: doc: fix 'SCSI_NCR_SETUP_MASTER_PARITY' drivers/usb/phy/phy.c: remove a leading space mfd: fix comment cpuidle: fix comment doc: hpfall.c: fix missing null-terminate after strncpy call usb: doc: hotplug.txt code typos kbuild: fix comment in Makefile.modinst SH: add proper prompt to SH_MAGIC_PANEL_R2_VERSION ARM: msm: Remove MSM_SCM crypto: Remove MPILIB_EXTRA doc: CN: remove dead link, kerneltrap.org no longer works media: update reference, kerneltrap.org no longer works hexagon: update reference, kerneltrap.org no longer works doc: LSM: update reference, kerneltrap.org no longer works ...
Diffstat (limited to 'drivers')
-rw-r--r--drivers/cpuidle/governors/menu.c2
-rw-r--r--drivers/gpu/drm/gma500/mid_bios.c1
-rw-r--r--drivers/irqchip/irq-gic.c2
-rw-r--r--drivers/mfd/intel_msic.c2
-rw-r--r--drivers/scsi/mvsas/mv_sas.c24
-rw-r--r--drivers/usb/phy/phy.c2
6 files changed, 17 insertions, 16 deletions
diff --git a/drivers/cpuidle/governors/menu.c b/drivers/cpuidle/governors/menu.c
index c3732fa74f82..ae5a42595e1c 100644
--- a/drivers/cpuidle/governors/menu.c
+++ b/drivers/cpuidle/governors/menu.c
@@ -398,7 +398,7 @@ static void menu_update(struct cpuidle_driver *drv, struct cpuidle_device *dev)
398 * 398 *
399 * Any measured amount of time will include the exit latency. 399 * Any measured amount of time will include the exit latency.
400 * Since we are interested in when the wakeup begun, not when it 400 * Since we are interested in when the wakeup begun, not when it
401 * was completed, we must substract the exit latency. However, if 401 * was completed, we must subtract the exit latency. However, if
402 * the measured amount of time is less than the exit latency, 402 * the measured amount of time is less than the exit latency,
403 * assume the state was never reached and the exit latency is 0. 403 * assume the state was never reached and the exit latency is 0.
404 */ 404 */
diff --git a/drivers/gpu/drm/gma500/mid_bios.c b/drivers/gpu/drm/gma500/mid_bios.c
index a97e38e284fa..d75ecb3bdee7 100644
--- a/drivers/gpu/drm/gma500/mid_bios.c
+++ b/drivers/gpu/drm/gma500/mid_bios.c
@@ -39,7 +39,6 @@ static void mid_get_fuse_settings(struct drm_device *dev)
39#define FB_REG06 0xD0810600 39#define FB_REG06 0xD0810600
40#define FB_MIPI_DISABLE (1 << 11) 40#define FB_MIPI_DISABLE (1 << 11)
41#define FB_REG09 0xD0810900 41#define FB_REG09 0xD0810900
42#define FB_REG09 0xD0810900
43#define FB_SKU_MASK 0x7000 42#define FB_SKU_MASK 0x7000
44#define FB_SKU_SHIFT 12 43#define FB_SKU_SHIFT 12
45#define FB_SKU_100 0 44#define FB_SKU_100 0
diff --git a/drivers/irqchip/irq-gic.c b/drivers/irqchip/irq-gic.c
index 9c1f883fc5a3..4b959e606fe8 100644
--- a/drivers/irqchip/irq-gic.c
+++ b/drivers/irqchip/irq-gic.c
@@ -1,6 +1,4 @@
1/* 1/*
2 * linux/arch/arm/common/gic.c
3 *
4 * Copyright (C) 2002 ARM Limited, All Rights Reserved. 2 * Copyright (C) 2002 ARM Limited, All Rights Reserved.
5 * 3 *
6 * This program is free software; you can redistribute it and/or modify 4 * This program is free software; you can redistribute it and/or modify
diff --git a/drivers/mfd/intel_msic.c b/drivers/mfd/intel_msic.c
index 049fd23af54a..443e7cddff28 100644
--- a/drivers/mfd/intel_msic.c
+++ b/drivers/mfd/intel_msic.c
@@ -27,7 +27,7 @@
27 27
28/* 28/*
29 * MSIC interrupt tree is readable from SRAM at INTEL_MSIC_IRQ_PHYS_BASE. 29 * MSIC interrupt tree is readable from SRAM at INTEL_MSIC_IRQ_PHYS_BASE.
30 * Since IRQ block starts from address 0x002 we need to substract that from 30 * Since IRQ block starts from address 0x002 we need to subtract that from
31 * the actual IRQ status register address. 31 * the actual IRQ status register address.
32 */ 32 */
33#define MSIC_IRQ_STATUS(x) (INTEL_MSIC_IRQ_PHYS_BASE + ((x) - 2)) 33#define MSIC_IRQ_STATUS(x) (INTEL_MSIC_IRQ_PHYS_BASE + ((x) - 2))
diff --git a/drivers/scsi/mvsas/mv_sas.c b/drivers/scsi/mvsas/mv_sas.c
index 6c1f223a8e1d..ac52f7c99513 100644
--- a/drivers/scsi/mvsas/mv_sas.c
+++ b/drivers/scsi/mvsas/mv_sas.c
@@ -1344,19 +1344,23 @@ void mvs_dev_gone_notify(struct domain_device *dev)
1344{ 1344{
1345 unsigned long flags = 0; 1345 unsigned long flags = 0;
1346 struct mvs_device *mvi_dev = dev->lldd_dev; 1346 struct mvs_device *mvi_dev = dev->lldd_dev;
1347 struct mvs_info *mvi = mvi_dev->mvi_info; 1347 struct mvs_info *mvi;
1348
1349 spin_lock_irqsave(&mvi->lock, flags);
1350 1348
1351 if (mvi_dev) { 1349 if (!mvi_dev) {
1352 mv_dprintk("found dev[%d:%x] is gone.\n",
1353 mvi_dev->device_id, mvi_dev->dev_type);
1354 mvs_release_task(mvi, dev);
1355 mvs_free_reg_set(mvi, mvi_dev);
1356 mvs_free_dev(mvi_dev);
1357 } else {
1358 mv_dprintk("found dev has gone.\n"); 1350 mv_dprintk("found dev has gone.\n");
1351 return;
1359 } 1352 }
1353
1354 mvi = mvi_dev->mvi_info;
1355
1356 spin_lock_irqsave(&mvi->lock, flags);
1357
1358 mv_dprintk("found dev[%d:%x] is gone.\n",
1359 mvi_dev->device_id, mvi_dev->dev_type);
1360 mvs_release_task(mvi, dev);
1361 mvs_free_reg_set(mvi, mvi_dev);
1362 mvs_free_dev(mvi_dev);
1363
1360 dev->lldd_dev = NULL; 1364 dev->lldd_dev = NULL;
1361 mvi_dev->sas_device = NULL; 1365 mvi_dev->sas_device = NULL;
1362 1366
diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c
index 36b6bce33b20..6d0f6080eceb 100644
--- a/drivers/usb/phy/phy.c
+++ b/drivers/usb/phy/phy.c
@@ -147,7 +147,7 @@ err0:
147} 147}
148EXPORT_SYMBOL_GPL(usb_get_phy); 148EXPORT_SYMBOL_GPL(usb_get_phy);
149 149
150 /** 150/**
151 * devm_usb_get_phy_by_phandle - find the USB PHY by phandle 151 * devm_usb_get_phy_by_phandle - find the USB PHY by phandle
152 * @dev - device that requests this phy 152 * @dev - device that requests this phy
153 * @phandle - name of the property holding the phy phandle value 153 * @phandle - name of the property holding the phy phandle value