.. | .. |
---|
9 | 9 | */ |
---|
10 | 10 | |
---|
11 | 11 | #include <linux/kernel.h> |
---|
12 | | -#include <linux/module.h> /* symbol_get ; symbol_put */ |
---|
13 | 12 | #include <linux/platform_device.h> |
---|
14 | 13 | #include <linux/delay.h> |
---|
15 | 14 | #include <linux/gpio_keys.h> |
---|
.. | .. |
---|
514 | 513 | .gpio_cs = SPITZ_GPIO_ADS7846_CS, |
---|
515 | 514 | }; |
---|
516 | 515 | |
---|
517 | | -static void spitz_bl_kick_battery(void) |
---|
518 | | -{ |
---|
519 | | - void (*kick_batt)(void); |
---|
520 | | - |
---|
521 | | - kick_batt = symbol_get(sharpsl_battery_kick); |
---|
522 | | - if (kick_batt) { |
---|
523 | | - kick_batt(); |
---|
524 | | - symbol_put(sharpsl_battery_kick); |
---|
525 | | - } |
---|
526 | | -} |
---|
527 | | - |
---|
528 | 516 | static struct gpiod_lookup_table spitz_lcdcon_gpio_table = { |
---|
529 | 517 | .dev_id = "spi2.1", |
---|
530 | 518 | .table = { |
---|
.. | .. |
---|
552 | 540 | .max_intensity = 0x2f, |
---|
553 | 541 | .default_intensity = 0x1f, |
---|
554 | 542 | .limit_mask = 0x0b, |
---|
555 | | - .kick_battery = spitz_bl_kick_battery, |
---|
| 543 | + .kick_battery = sharpsl_battery_kick, |
---|
556 | 544 | }; |
---|
557 | 545 | |
---|
558 | 546 | static struct pxa2xx_spi_chip spitz_lcdcon_chip = { |
---|