Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1208267
| From | Mike Rapoport <mike.rapoport@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/5] staging: fbtft: remove unused bl_ops from fbtft_unregister_backlight |
| Date | 2015-08-16 22:40 +0200 |
| Message-ID | <pYcSL-2zI-39@gated-at.bofh.it> (permalink) |
| References | <pYcSJ-2zI-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Signed-off-by: Mike Rapoport <mike.rapoport@gmail.com>
---
drivers/staging/fbtft/fbtft-core.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/drivers/staging/fbtft/fbtft-core.c b/drivers/staging/fbtft/fbtft-core.c
index 23392eb..bbc394a 100644
--- a/drivers/staging/fbtft/fbtft-core.c
+++ b/drivers/staging/fbtft/fbtft-core.c
@@ -270,14 +270,11 @@ static int fbtft_backlight_get_brightness(struct backlight_device *bd)
void fbtft_unregister_backlight(struct fbtft_par *par)
{
- const struct backlight_ops *bl_ops;
-
fbtft_par_dbg(DEBUG_BACKLIGHT, par, "%s()\n", __func__);
if (par->info->bl_dev) {
par->info->bl_dev->props.power = FB_BLANK_POWERDOWN;
backlight_update_status(par->info->bl_dev);
- bl_ops = par->info->bl_dev->ops;
backlight_device_unregister(par->info->bl_dev);
par->info->bl_dev = NULL;
}
--
1.8.3.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 0/5] staging: fbtft: some checpatch.pl cleanups Mike Rapoport <mike.rapoport@gmail.com> - 2015-08-16 22:40 +0200 [PATCH 5/5] staging: fbtft: fb_watterott: define backlight_ops statically Mike Rapoport <mike.rapoport@gmail.com> - 2015-08-16 22:40 +0200 [PATCH 1/5] staging: fbtft: remove unused bl_ops from fbtft_unregister_backlight Mike Rapoport <mike.rapoport@gmail.com> - 2015-08-16 22:40 +0200 [PATCH 4/5] staging: fbtft: fb_ssd1351: define backlight_ops statically Mike Rapoport <mike.rapoport@gmail.com> - 2015-08-16 22:40 +0200 [PATCH 2/5] staging: fbtft: fbtft-core: define backlight_ops statically Mike Rapoport <mike.rapoport@gmail.com> - 2015-08-16 22:40 +0200
csiph-web