Merge tag 'efi-2020-07-rc5-2' of https://gitlab.denx.de/u-boot/custodians/u-boot-efi
[oweals/u-boot.git] / include / clk-uclass.h
index 75933eb8841fb86bdf7efc999dfe0a4bffa68928..dac42dab3681287bbe777a2effea7a25f5a1dfbf 100644 (file)
@@ -1,9 +1,8 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (c) 2015 Google, Inc
  * Written by Simon Glass <sjg@chromium.org>
  * Copyright (c) 2016, NVIDIA CORPORATION.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _CLK_UCLASS_H
@@ -54,14 +53,14 @@ struct clk_ops {
         */
        int (*request)(struct clk *clock);
        /**
-        * free - Free a previously requested clock.
+        * rfree - Free a previously requested clock.
         *
         * This is the implementation of the client clk_free() API.
         *
         * @clock:      The clock to free.
         * @return 0 if OK, or a negative error code.
         */
-       int (*free)(struct clk *clock);
+       int (*rfree)(struct clk *clock);
        /**
         * get_rate() - Get current clock rate.
         *