dri-devel.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert@linux-m68k.org>
To: Alexander Shiyan <shc_work@mail.ru>
Cc: Linux Fbdev development list <linux-fbdev@vger.kernel.org>,
	Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>,
	Jingoo Han <jingoohan1@gmail.com>,
	Daniel Thompson <daniel.thompson@linaro.org>,
	DRI Development <dri-devel@lists.freedesktop.org>,
	Lee Jones <lee.jones@linaro.org>
Subject: Re: [PATCH v2 1/2] video: lcd: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol
Date: Wed, 15 May 2019 10:56:51 +0200	[thread overview]
Message-ID: <CAMuHMdXrAaZoqsnY_adE=jn-hmTrgmsvJ2tDo+5ByxZ4sz_S7Q@mail.gmail.com> (raw)
In-Reply-To: <20190117133336.19737-1-shc_work@mail.ru>

Hi Alexander,

On Thu, Jan 17, 2019 at 2:39 PM Alexander Shiyan <shc_work@mail.ru> wrote:
> We have two *_CLASS_DEVICE kernel config options (LCD_CLASS_DEVICE
> and BACKLIGHT_LCD_DEVICE) that do the same job.
> The patch removes useless BACKLIGHT_LCD_SUPPORT option
> and converts LCD_CLASS_DEVICE into a menu.
>
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

This is now commit 8c5dc8d9f19c7992 ("video: backlight: Remove useless
BACKLIGHT_LCD_SUPPORT kernel symbol").

> --- a/drivers/video/backlight/Kconfig
> +++ b/drivers/video/backlight/Kconfig
> @@ -2,13 +2,7 @@
>  # Backlight & LCD drivers configuration
>  #
>
> -menuconfig BACKLIGHT_LCD_SUPPORT
> -       bool "Backlight & LCD device support"
> -       help
> -         Enable this to be able to choose the drivers for controlling the
> -         backlight and the LCD panel on some platforms, for example on PDAs.
> -
> -if BACKLIGHT_LCD_SUPPORT
> +menu "Backlight & LCD device support"
>
>  #
>  # LCD

Below, we have:

    config LCD_CLASS_DEVICE
            tristate "Lowlevel LCD controls"
            default m
            help
              This framework adds support for low-level control of LCD.
              Some framebuffer devices connect to platform-specific LCD modules
              in order to have a platform-specific way to control the flat panel
              (contrast and applying power to the LCD (not to the backlight!)).

and:

    config BACKLIGHT_CLASS_DEVICE
            tristate "Lowlevel Backlight controls"
            default m
            help
              This framework adds support for low-level control of the LCD
              backlight. This includes support for brightness and power.

Hence running "make oldconfig" on a .config where
CONFIG_BACKLIGHT_LCD_SUPPORT was not set leads two to new
questions, where the answers default to "m".

Perhaps the "default m" statements should be removed?

Gr{oetje,eeting}s,

                        Geert

-- 
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

  parent reply	other threads:[~2019-05-15  8:57 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-17 13:33 [PATCH v2 1/2] video: lcd: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol Alexander Shiyan
2019-01-17 13:33 ` [PATCH v2 2/2] video: lcd: Remove useless BACKLIGHT_CLASS_DEVICE dependencies Alexander Shiyan
2019-01-17 16:18   ` Daniel Thompson
2019-02-08 17:20   ` Bartlomiej Zolnierkiewicz
2019-02-11 10:22     ` Daniel Thompson
2019-04-03 10:10   ` Lee Jones
2019-01-17 16:19 ` [PATCH v2 1/2] video: lcd: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol Daniel Thompson
2019-02-08 17:19   ` Bartlomiej Zolnierkiewicz
2019-02-12  8:42     ` Lee Jones via dri-devel
2019-02-13 15:04       ` Bartlomiej Zolnierkiewicz via dri-devel
2019-02-13 15:19         ` Daniel Vetter
2019-02-13 16:12           ` Bartlomiej Zolnierkiewicz via dri-devel
2019-03-20 10:07             ` Lee Jones
2019-04-01 15:46               ` Bartlomiej Zolnierkiewicz
2019-02-14  8:12           ` Lee Jones via dri-devel
2019-04-03 10:19 ` [GIT PULL] Immutable branch between MFD and DRM due for the v5.2 merge window Lee Jones
2019-04-03 13:29   ` Daniel Vetter
2019-05-15  8:56 ` Geert Uytterhoeven [this message]
2019-05-15 10:33   ` [PATCH v2 1/2] video: lcd: Remove useless BACKLIGHT_LCD_SUPPORT kernel symbol Alexander Shiyan
2019-05-15 12:17     ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMuHMdXrAaZoqsnY_adE=jn-hmTrgmsvJ2tDo+5ByxZ4sz_S7Q@mail.gmail.com' \
    --to=geert@linux-m68k.org \
    --cc=b.zolnierkie@samsung.com \
    --cc=daniel.thompson@linaro.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jingoohan1@gmail.com \
    --cc=lee.jones@linaro.org \
    --cc=linux-fbdev@vger.kernel.org \
    --cc=shc_work@mail.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).