lkml.org 
[lkml]   [2011]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCHv5 3/4] usb: gadget: rename usb_gadget_driver::speed to max_speed
    On Fri, Aug 26, 2011 at 03:18:36PM +0200, Michal Nazarewicz wrote:
    > From: Michal Nazarewicz <mina86@mina86.com>
    >
    > This commit renames the “speed” field of the usb_gadget_driver
    > structure to “max_speed”. This is so that to make it more
    > apparent that the field represents the maximum speed gadget
    > driver can support.
    >
    > This also make the field look more like fields with the same
    > name in usb_gadget and usb_composite_driver structures. All
    > of those represent the *maximal* speed given entity supports.
    >
    > After this commit, there are the following fields in various
    > structures:
    > * usb_gadget::speed - the current connection speed,
    > * usb_gadget::max_speed - maximal speed UDC supports,
    > * usb_gadget_driver::max_speed - maximal speed gadget driver
    > supports, and
    > * usb_composite_driver::max_speed - maximal speed composite
    > gadget supports.

    same here

    --
    balbi
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2011-10-10 08:05    [W:4.173 / U:0.668 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site