lkml.org 
[lkml]   [2016]   [Feb]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RESEND PATCH v2 07/16] clk: simplify clk_core_get_parent_by_index()
    On 12/28, Masahiro Yamada wrote:
    > Drop the "if (!core->parents)" case and refactor the function a bit
    > because core->parents is always allocated. (Strictly speaking, it is
    > ZERO_SIZE_PTR if core->num_parents == 0, but such a case is omitted
    > by the if-conditional above.)
    >
    > Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
    > ---

    Applied to clk-next

    --
    Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
    a Linux Foundation Collaborative Project

    \
     
     \ /
      Last update: 2016-02-02 02:21    [W:2.152 / U:0.568 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site