Commit fe606dffea01481af4bb440ac2717da901383369

Authored by Linus Torvalds

Merge branch 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux

Pull i2c bugfixes from Wolfram Sang:
 "One bigger cleanup (FSF address removal) and two bugfixes for I2C"

* 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
  i2c: core: Dispose OF IRQ mapping at client removal time
  i2c: at91: don't account as iowait
  i2c: remove FSF address

Showing 53 changed files Side-by-side Diff

drivers/i2c/algos/i2c-algo-bit.c
... ... @@ -12,11 +12,6 @@
12 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 GNU General Public License for more details.
15   -
16   - You should have received a copy of the GNU General Public License
17   - along with this program; if not, write to the Free Software
18   - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19   - MA 02110-1301 USA.
20 15 * ------------------------------------------------------------------------- */
21 16  
22 17 /* With some changes from Frodo Looijaard <frodol@dds.nl>, Kyösti Mälkki
drivers/i2c/algos/i2c-algo-pca.c
... ... @@ -12,11 +12,6 @@
12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 * GNU General Public License for more details.
15   - *
16   - * You should have received a copy of the GNU General Public License
17   - * along with this program; if not, write to the Free Software
18   - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19   - * MA 02110-1301 USA.
20 15 */
21 16  
22 17 #include <linux/kernel.h>
drivers/i2c/algos/i2c-algo-pcf.c
... ... @@ -14,11 +14,6 @@
14 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 15 * GNU General Public License for more details.
16 16 *
17   - * You should have received a copy of the GNU General Public License
18   - * along with this program; if not, write to the Free Software
19   - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20   - * MA 02110-1301 USA.
21   - *
22 17 * With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and
23 18 * Frodo Looijaard <frodol@dds.nl>, and also from Martin Bailey
24 19 * <mbailey@littlefeet-inc.com>
drivers/i2c/algos/i2c-algo-pcf.h
... ... @@ -12,12 +12,7 @@
12 12 This program is distributed in the hope that it will be useful,
13 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15   - GNU General Public License for more details.
16   -
17   - You should have received a copy of the GNU General Public License
18   - along with this program; if not, write to the Free Software
19   - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20   - MA 02110-1301 USA. */
  15 + GNU General Public License for more details. */
21 16 /* -------------------------------------------------------------------- */
22 17  
23 18 /* With some changes from Frodo Looijaard <frodol@dds.nl> */
drivers/i2c/busses/i2c-ali1535.c
... ... @@ -14,10 +14,6 @@
14 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 16 * GNU General Public License for more details.
17   - *
18   - * You should have received a copy of the GNU General Public License
19   - * along with this program; if not, write to the Free Software
20   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 17 */
22 18  
23 19 /*
drivers/i2c/busses/i2c-ali15x3.c
... ... @@ -12,10 +12,6 @@
12 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 GNU General Public License for more details.
15   -
16   - You should have received a copy of the GNU General Public License
17   - along with this program; if not, write to the Free Software
18   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 15 */
20 16  
21 17 /*
drivers/i2c/busses/i2c-amd756-s4882.c
... ... @@ -12,10 +12,6 @@
12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 * GNU General Public License for more details.
15   - *
16   - * You should have received a copy of the GNU General Public License
17   - * along with this program; if not, write to the Free Software
18   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 15 */
20 16  
21 17 /*
drivers/i2c/busses/i2c-amd756.c
... ... @@ -15,10 +15,6 @@
15 15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 17 GNU General Public License for more details.
18   -
19   - You should have received a copy of the GNU General Public License
20   - along with this program; if not, write to the Free Software
21   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 18 */
23 19  
24 20 /*
drivers/i2c/busses/i2c-at91.c
... ... @@ -434,7 +434,7 @@
434 434 }
435 435 }
436 436  
437   - ret = wait_for_completion_io_timeout(&dev->cmd_complete,
  437 + ret = wait_for_completion_timeout(&dev->cmd_complete,
438 438 dev->adapter.timeout);
439 439 if (ret == 0) {
440 440 dev_err(dev->dev, "controller timed out\n");
drivers/i2c/busses/i2c-au1550.c
... ... @@ -21,10 +21,6 @@
21 21 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22 22 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
23 23 * GNU General Public License for more details.
24   - *
25   - * You should have received a copy of the GNU General Public License
26   - * along with this program; if not, write to the Free Software
27   - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
28 24 */
29 25  
30 26 #include <linux/delay.h>
drivers/i2c/busses/i2c-cpm.c
... ... @@ -23,10 +23,6 @@
23 23 * but WITHOUT ANY WARRANTY; without even the implied warranty of
24 24 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 25 * GNU General Public License for more details.
26   - *
27   - * You should have received a copy of the GNU General Public License
28   - * along with this program; if not, write to the Free Software
29   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
30 26 */
31 27  
32 28 #include <linux/kernel.h>
drivers/i2c/busses/i2c-davinci.c
... ... @@ -17,10 +17,6 @@
17 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 19 * GNU General Public License for more details.
20   - *
21   - * You should have received a copy of the GNU General Public License
22   - * along with this program; if not, write to the Free Software
23   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 20 * ----------------------------------------------------------------------------
25 21 *
26 22 */
drivers/i2c/busses/i2c-designware-core.c
... ... @@ -18,10 +18,6 @@
18 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 20 * GNU General Public License for more details.
21   - *
22   - * You should have received a copy of the GNU General Public License
23   - * along with this program; if not, write to the Free Software
24   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 21 * ----------------------------------------------------------------------------
26 22 *
27 23 */
drivers/i2c/busses/i2c-designware-core.h
... ... @@ -18,10 +18,6 @@
18 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 20 * GNU General Public License for more details.
21   - *
22   - * You should have received a copy of the GNU General Public License
23   - * along with this program; if not, write to the Free Software
24   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 21 * ----------------------------------------------------------------------------
26 22 *
27 23 */
drivers/i2c/busses/i2c-designware-pcidrv.c
... ... @@ -19,10 +19,6 @@
19 19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 21 * GNU General Public License for more details.
22   - *
23   - * You should have received a copy of the GNU General Public License
24   - * along with this program; if not, write to the Free Software
25   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 22 * ----------------------------------------------------------------------------
27 23 *
28 24 */
drivers/i2c/busses/i2c-designware-platdrv.c
... ... @@ -18,10 +18,6 @@
18 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 20 * GNU General Public License for more details.
21   - *
22   - * You should have received a copy of the GNU General Public License
23   - * along with this program; if not, write to the Free Software
24   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 21 * ----------------------------------------------------------------------------
26 22 *
27 23 */
drivers/i2c/busses/i2c-eg20t.c
... ... @@ -9,10 +9,6 @@
9 9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 11 * GNU General Public License for more details.
12   - *
13   - * You should have received a copy of the GNU General Public License
14   - * along with this program; if not, write to the Free Software
15   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
16 12 */
17 13  
18 14 #include <linux/module.h>
drivers/i2c/busses/i2c-elektor.c
... ... @@ -12,11 +12,7 @@
12 12 This program is distributed in the hope that it will be useful,
13 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15   - GNU General Public License for more details.
16   -
17   - You should have received a copy of the GNU General Public License
18   - along with this program; if not, write to the Free Software
19   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
  15 + GNU General Public License for more details. */
20 16 /* ------------------------------------------------------------------------- */
21 17  
22 18 /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and even
drivers/i2c/busses/i2c-hydra.c
... ... @@ -15,10 +15,6 @@
15 15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 17 GNU General Public License for more details.
18   -
19   - You should have received a copy of the GNU General Public License
20   - along with this program; if not, write to the Free Software
21   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 18 */
23 19  
24 20 #include <linux/kernel.h>
drivers/i2c/busses/i2c-i801.c
... ... @@ -15,10 +15,6 @@
15 15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 17 GNU General Public License for more details.
18   -
19   - You should have received a copy of the GNU General Public License
20   - along with this program; if not, write to the Free Software
21   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 18 */
23 19  
24 20 /*
drivers/i2c/busses/i2c-imx.c
... ... @@ -11,11 +11,6 @@
11 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 * GNU General Public License for more details.
13 13 *
14   - * You should have received a copy of the GNU General Public License
15   - * along with this program; if not, write to the Free Software
16   - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
17   - * USA.
18   - *
19 14 * Author:
20 15 * Darius Augulis, Teltonika Inc.
21 16 *
drivers/i2c/busses/i2c-iop3xx.h
... ... @@ -11,11 +11,7 @@
11 11 This program is distributed in the hope that it will be useful,
12 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14   - GNU General Public License for more details.
15   -
16   - You should have received a copy of the GNU General Public License
17   - along with this program; if not, write to the Free Software
18   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
  14 + GNU General Public License for more details. */
19 15 /* ------------------------------------------------------------------------- */
20 16  
21 17  
drivers/i2c/busses/i2c-isch.c
... ... @@ -14,10 +14,6 @@
14 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 16 GNU General Public License for more details.
17   -
18   - You should have received a copy of the GNU General Public License
19   - along with this program; if not, write to the Free Software
20   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 17 */
22 18  
23 19 /*
drivers/i2c/busses/i2c-ismt.c
... ... @@ -14,10 +14,6 @@
14 14 * WITHOUT ANY WARRANTY; without even the implied warranty of
15 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 16 * General Public License for more details.
17   - *
18   - * You should have received a copy of the GNU General Public License
19   - * along with this program; if not, write to the Free Software
20   - * Foundation, Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
21 17 * The full GNU General Public License is included in this distribution
22 18 * in the file called LICENSE.GPL.
23 19 *
drivers/i2c/busses/i2c-nforce2-s4985.c
... ... @@ -12,10 +12,6 @@
12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 * GNU General Public License for more details.
15   - *
16   - * You should have received a copy of the GNU General Public License
17   - * along with this program; if not, write to the Free Software
18   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 15 */
20 16  
21 17 /*
drivers/i2c/busses/i2c-nforce2.c
... ... @@ -17,10 +17,6 @@
17 17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 19 GNU General Public License for more details.
20   -
21   - You should have received a copy of the GNU General Public License
22   - along with this program; if not, write to the Free Software
23   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 20 */
25 21  
26 22 /*
drivers/i2c/busses/i2c-omap.c
... ... @@ -22,10 +22,6 @@
22 22 * but WITHOUT ANY WARRANTY; without even the implied warranty of
23 23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
24 24 * GNU General Public License for more details.
25   - *
26   - * You should have received a copy of the GNU General Public License
27   - * along with this program; if not, write to the Free Software
28   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
29 25 */
30 26  
31 27 #include <linux/module.h>
drivers/i2c/busses/i2c-parport-light.c
... ... @@ -18,10 +18,6 @@
18 18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 20 GNU General Public License for more details.
21   -
22   - You should have received a copy of the GNU General Public License
23   - along with this program; if not, write to the Free Software
24   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 21 * ------------------------------------------------------------------------ */
26 22  
27 23 #include <linux/kernel.h>
drivers/i2c/busses/i2c-parport.c
... ... @@ -18,10 +18,6 @@
18 18 but WITHOUT ANY WARRANTY; without even the implied warranty of
19 19 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 20 GNU General Public License for more details.
21   -
22   - You should have received a copy of the GNU General Public License
23   - along with this program; if not, write to the Free Software
24   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
25 21 * ------------------------------------------------------------------------ */
26 22  
27 23 #include <linux/kernel.h>
drivers/i2c/busses/i2c-parport.h
... ... @@ -12,10 +12,6 @@
12 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 GNU General Public License for more details.
15   -
16   - You should have received a copy of the GNU General Public License
17   - along with this program; if not, write to the Free Software
18   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 15 * ------------------------------------------------------------------------ */
20 16  
21 17 #define PORT_DATA 0
drivers/i2c/busses/i2c-pasemi.c
... ... @@ -11,10 +11,6 @@
11 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 13 * GNU General Public License for more details.
14   - *
15   - * You should have received a copy of the GNU General Public License
16   - * along with this program; if not, write to the Free Software
17   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 14 */
19 15  
20 16 #include <linux/module.h>
drivers/i2c/busses/i2c-pca-isa.c
... ... @@ -12,10 +12,6 @@
12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 * GNU General Public License for more details.
15   - *
16   - * You should have received a copy of the GNU General Public License
17   - * along with this program; if not, write to the Free Software
18   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 15 */
20 16  
21 17 #include <linux/kernel.h>
drivers/i2c/busses/i2c-piix4.c
... ... @@ -11,10 +11,6 @@
11 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 13 GNU General Public License for more details.
14   -
15   - You should have received a copy of the GNU General Public License
16   - along with this program; if not, write to the Free Software
17   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 14 */
19 15  
20 16 /*
drivers/i2c/busses/i2c-pmcmsp.c
... ... @@ -18,10 +18,6 @@
18 18 * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
19 19 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
20 20 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
21   - *
22   - * You should have received a copy of the GNU General Public License along
23   - * with this program; if not, write to the Free Software Foundation, Inc.,
24   - * 675 Mass Ave, Cambridge, MA 02139, USA.
25 21 */
26 22  
27 23 #include <linux/kernel.h>
drivers/i2c/busses/i2c-powermac.c
... ... @@ -14,10 +14,6 @@
14 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 15 GNU General Public License for more details.
16 16  
17   - You should have received a copy of the GNU General Public License
18   - along with this program; if not, write to the Free Software
19   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20   -
21 17 */
22 18  
23 19 #include <linux/module.h>
drivers/i2c/busses/i2c-s3c2410.c
... ... @@ -14,10 +14,6 @@
14 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 16 * GNU General Public License for more details.
17   - *
18   - * You should have received a copy of the GNU General Public License
19   - * along with this program; if not, write to the Free Software
20   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 17 */
22 18  
23 19 #include <linux/kernel.h>
drivers/i2c/busses/i2c-sh_mobile.c
... ... @@ -14,10 +14,6 @@
14 14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 16 * GNU General Public License for more details.
17   - *
18   - * You should have received a copy of the GNU General Public License
19   - * along with this program; if not, write to the Free Software
20   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 17 */
22 18  
23 19 #include <linux/kernel.h>
drivers/i2c/busses/i2c-sibyte.c
... ... @@ -12,10 +12,6 @@
12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 * GNU General Public License for more details.
15   - *
16   - * You should have received a copy of the GNU General Public License
17   - * along with this program; if not, write to the Free Software
18   - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 15 */
20 16  
21 17 #include <linux/kernel.h>
drivers/i2c/busses/i2c-simtec.c
... ... @@ -12,10 +12,6 @@
12 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 * GNU General Public License for more details.
15   - *
16   - * You should have received a copy of the GNU General Public License
17   - * along with this program; if not, write to the Free Software
18   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 15 */
20 16  
21 17 #include <linux/kernel.h>
drivers/i2c/busses/i2c-sis5595.c
... ... @@ -11,10 +11,6 @@
11 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 13 GNU General Public License for more details.
14   -
15   - You should have received a copy of the GNU General Public License
16   - along with this program; if not, write to the Free Software
17   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18 14 */
19 15  
20 16 /* Note: we assume there can only be one SIS5595 with one SMBus interface */
drivers/i2c/busses/i2c-sis630.c
... ... @@ -10,10 +10,6 @@
10 10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 GNU General Public License for more details.
13   -
14   - You should have received a copy of the GNU General Public License
15   - along with this program; if not, write to the Free Software
16   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 13 */
18 14  
19 15 /*
drivers/i2c/busses/i2c-sis96x.c
... ... @@ -10,10 +10,6 @@
10 10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 GNU General Public License for more details.
13   -
14   - You should have received a copy of the GNU General Public License
15   - along with this program; if not, write to the Free Software
16   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 13 */
18 14  
19 15 /*
drivers/i2c/busses/i2c-taos-evm.c
... ... @@ -13,10 +13,6 @@
13 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 15 * GNU General Public License for more details.
16   - *
17   - * You should have received a copy of the GNU General Public License
18   - * along with this program; if not, write to the Free Software
19   - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 16 */
21 17  
22 18 #include <linux/delay.h>
drivers/i2c/busses/i2c-via.c
... ... @@ -12,10 +12,6 @@
12 12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 14 GNU General Public License for more details.
15   -
16   - You should have received a copy of the GNU General Public License
17   - along with this program; if not, write to the Free Software
18   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 15 */
20 16  
21 17 #include <linux/kernel.h>
drivers/i2c/busses/i2c-viapro.c
... ... @@ -13,10 +13,6 @@
13 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 15 GNU General Public License for more details.
16   -
17   - You should have received a copy of the GNU General Public License
18   - along with this program; if not, write to the Free Software
19   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 16 */
21 17  
22 18 /*
drivers/i2c/busses/i2c-xiic.c
... ... @@ -12,10 +12,6 @@
12 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 13 * GNU General Public License for more details.
14 14 *
15   - * You should have received a copy of the GNU General Public License
16   - * along with this program; if not, write to the Free Software
17   - * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
18   - *
19 15 *
20 16 * This code was implemented by Mocean Laboratories AB when porting linux
21 17 * to the automotive development board Russellville. The copyright holder
drivers/i2c/busses/scx200_acb.c
... ... @@ -17,10 +17,6 @@
17 17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
19 19 General Public License for more details.
20   -
21   - You should have received a copy of the GNU General Public License
22   - along with this program; if not, write to the Free Software
23   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 20 */
25 21  
26 22 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
drivers/i2c/i2c-boardinfo.c
... ... @@ -10,11 +10,6 @@
10 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 * GNU General Public License for more details.
13   - *
14   - * You should have received a copy of the GNU General Public License
15   - * along with this program; if not, write to the Free Software
16   - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17   - * MA 02110-1301 USA.
18 13 */
19 14  
20 15 #include <linux/kernel.h>
drivers/i2c/i2c-core.c
... ... @@ -10,12 +10,7 @@
10 10 This program is distributed in the hope that it will be useful,
11 11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13   - GNU General Public License for more details.
14   -
15   - You should have received a copy of the GNU General Public License
16   - along with this program; if not, write to the Free Software
17   - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
18   - MA 02110-1301 USA. */
  13 + GNU General Public License for more details. */
19 14 /* ------------------------------------------------------------------------- */
20 15  
21 16 /* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi>.
... ... @@ -669,6 +664,9 @@
669 664 dev_dbg(dev, "remove\n");
670 665 status = driver->remove(client);
671 666 }
  667 +
  668 + if (dev->of_node)
  669 + irq_dispose_mapping(client->irq);
672 670  
673 671 dev_pm_domain_detach(&client->dev, true);
674 672 return status;
drivers/i2c/i2c-core.h
... ... @@ -10,11 +10,6 @@
10 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 12 * GNU General Public License for more details.
13   - *
14   - * You should have received a copy of the GNU General Public License
15   - * along with this program; if not, write to the Free Software
16   - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17   - * MA 02110-1301 USA.
18 13 */
19 14  
20 15 #include <linux/rwsem.h>
drivers/i2c/i2c-dev.c
... ... @@ -14,11 +14,6 @@
14 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 16 GNU General Public License for more details.
17   -
18   - You should have received a copy of the GNU General Public License
19   - along with this program; if not, write to the Free Software
20   - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21   - MA 02110-1301 USA.
22 17 */
23 18  
24 19 /* Note that this is a complete rewrite of Simon Vogl's i2c-dev module.
drivers/i2c/i2c-smbus.c
... ... @@ -13,11 +13,6 @@
13 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 15 * GNU General Public License for more details.
16   - *
17   - * You should have received a copy of the GNU General Public License
18   - * along with this program; if not, write to the Free Software
19   - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20   - * MA 02110-1301 USA.
21 16 */
22 17  
23 18 #include <linux/kernel.h>
drivers/i2c/i2c-stub.c
... ... @@ -13,10 +13,6 @@
13 13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 15 GNU General Public License for more details.
16   -
17   - You should have received a copy of the GNU General Public License
18   - along with this program; if not, write to the Free Software
19   - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 16 */
21 17  
22 18 #define DEBUG 1