lkml.org 
[lkml]   [2021]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v4 13/21] staging: hikey9xx: hisilicon,hi6421-spmi-pmic.yaml: cleanup a warning
    Date
    There's no additionalProperties field at the yaml file, causing
    a warning when checking it.

    Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
    ---
    drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml b/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml
    index f385146d2bd1..3b23ad56b31a 100644
    --- a/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml
    +++ b/drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml
    @@ -60,6 +60,8 @@ required:
    - reg
    - regulators

    +additionalProperties: false
    +
    examples:
    - |
    /* pmic properties */
    --
    2.29.2
    \
     
     \ /
      Last update: 2021-01-19 18:33    [W:4.205 / U:0.044 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site