gpio-max730x.c (65b7f6d740a6696974056251c98da0e99f956be8) | gpio-max730x.c (58383c78425e4ee1c077253cf297b641c861c02e) |
---|---|
1/** 2 * Copyright (C) 2006 Juergen Beisert, Pengutronix 3 * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix 4 * Copyright (C) 2009 Wolfram Sang, Pengutronix 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 175 unchanged lines hidden (view full) --- 184 185 ts->chip.direction_input = max7301_direction_input; 186 ts->chip.get = max7301_get; 187 ts->chip.direction_output = max7301_direction_output; 188 ts->chip.set = max7301_set; 189 190 ts->chip.ngpio = PIN_NUMBER; 191 ts->chip.can_sleep = true; | 1/** 2 * Copyright (C) 2006 Juergen Beisert, Pengutronix 3 * Copyright (C) 2008 Guennadi Liakhovetski, Pengutronix 4 * Copyright (C) 2009 Wolfram Sang, Pengutronix 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 175 unchanged lines hidden (view full) --- 184 185 ts->chip.direction_input = max7301_direction_input; 186 ts->chip.get = max7301_get; 187 ts->chip.direction_output = max7301_direction_output; 188 ts->chip.set = max7301_set; 189 190 ts->chip.ngpio = PIN_NUMBER; 191 ts->chip.can_sleep = true; |
192 ts->chip.dev = dev; | 192 ts->chip.parent = dev; |
193 ts->chip.owner = THIS_MODULE; 194 195 /* 196 * initialize pullups according to platform data and cache the 197 * register values for later use. 198 */ 199 for (i = 1; i < 8; i++) { 200 int j; --- 45 unchanged lines hidden --- | 193 ts->chip.owner = THIS_MODULE; 194 195 /* 196 * initialize pullups according to platform data and cache the 197 * register values for later use. 198 */ 199 for (i = 1; i < 8; i++) { 200 int j; --- 45 unchanged lines hidden --- |