summaryrefslogtreecommitdiffstats
path: root/drivers/mfd/lp3972.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mfd/lp3972.c')
-rw-r--r--drivers/mfd/lp3972.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/mfd/lp3972.c b/drivers/mfd/lp3972.c
index 0f3093bd15..082ecaa54b 100644
--- a/drivers/mfd/lp3972.c
+++ b/drivers/mfd/lp3972.c
@@ -13,10 +13,6 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
- * MA 02111-1307 USA
*
*/
@@ -103,7 +99,7 @@ static struct driver_d lp_driver = {
static int lp_init(void)
{
- register_driver(&lp_driver);
+ i2c_register_driver(&lp_driver);
return 0;
}