Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-vs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

The Gitlab will upgrade to latest version for security in the Oct 7th (9:00 ~ 12:00 UTC+8), during the time, the Gitlab site will be offline.

  • linux-arm
  • linux-vs
  • Repository
  • linux-vs
  • drivers
  • gpio
  • Kconfig
Find file BlameHistoryPermalink
  • Robert Hancock's avatar
    gpio: xilinx: convert from OF GPIO to standard devm APIs · 1ebd0687
    Robert Hancock authored Jun 07, 2019
    
    
    This driver was using the OF GPIO helper API, but barely used any of its
    features and it cost more code than it saved. Also, the OF GPIO code is
    now deprecated. Convert it to use a more standard setup and use devm
    APIs for initialization to avoid the need for a remove function.
    
    Our rationale for this change is that we are using the Xilinx GPIO with
    resources injected using the MFD core rather than on the device tree
    itself. Using platform rather than OF-specific resources allows this to
    work for free.
    
    Signed-off-by: default avatarRobert Hancock <hancock@sedsystems.ca>
    Acked-by: default avatarMichal Simek <michal.simek@xilinx.com>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    1ebd0687