lis3lv02d_i2c.c (53279f36dccffc26ff536003fd6bb97cc21c3b82) | lis3lv02d_i2c.c (2d6bed9ca93e98685bc5038d686984fd449cd978) |
---|---|
1/* 2 * drivers/hwmon/lis3lv02d_i2c.c 3 * 4 * Implements I2C interface for lis3lv02d (STMicroelectronics) accelerometer. 5 * Driver is based on corresponding SPI driver written by Daniel Mack 6 * (lis3lv02d_spi.c (C) 2009 Daniel Mack <daniel@caiaq.de> ). 7 * 8 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). --- 266 unchanged lines hidden (view full) --- 275static struct i2c_driver lis3lv02d_i2c_driver = { 276 .driver = { 277 .name = DRV_NAME, 278 .owner = THIS_MODULE, 279 .pm = &lis3_pm_ops, 280 .of_match_table = of_match_ptr(lis3lv02d_i2c_dt_ids), 281 }, 282 .probe = lis3lv02d_i2c_probe, | 1/* 2 * drivers/hwmon/lis3lv02d_i2c.c 3 * 4 * Implements I2C interface for lis3lv02d (STMicroelectronics) accelerometer. 5 * Driver is based on corresponding SPI driver written by Daniel Mack 6 * (lis3lv02d_spi.c (C) 2009 Daniel Mack <daniel@caiaq.de> ). 7 * 8 * Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). --- 266 unchanged lines hidden (view full) --- 275static struct i2c_driver lis3lv02d_i2c_driver = { 276 .driver = { 277 .name = DRV_NAME, 278 .owner = THIS_MODULE, 279 .pm = &lis3_pm_ops, 280 .of_match_table = of_match_ptr(lis3lv02d_i2c_dt_ids), 281 }, 282 .probe = lis3lv02d_i2c_probe, |
283 .remove = __devexit_p(lis3lv02d_i2c_remove), | 283 .remove = lis3lv02d_i2c_remove, |
284 .id_table = lis3lv02d_id, 285}; 286 287module_i2c_driver(lis3lv02d_i2c_driver); 288 289MODULE_AUTHOR("Nokia Corporation"); 290MODULE_DESCRIPTION("lis3lv02d I2C interface"); 291MODULE_LICENSE("GPL"); | 284 .id_table = lis3lv02d_id, 285}; 286 287module_i2c_driver(lis3lv02d_i2c_driver); 288 289MODULE_AUTHOR("Nokia Corporation"); 290MODULE_DESCRIPTION("lis3lv02d I2C interface"); 291MODULE_LICENSE("GPL"); |