]> Git Repo - J-u-boot.git/blobdiff - include/key_matrix.h
lmb: Rename _lmb_alloc_addr() to lmb_alloc_addr_flags()
[J-u-boot.git] / include / key_matrix.h
index 8dfa44de13068660d81afce30e57f23b5d47c303..fffe2ddc531662786b94c667c1b999818816e93f 100644 (file)
@@ -1,16 +1,13 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Keyboard matrix helper functions
  *
  * Copyright (c) 2012 The Chromium OS Authors.
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _KEY_MATRIX_H
 #define _KEY_MATRIX_H
 
-#include <common.h>
-
 /* Information about a matrix keyboard */
 struct key_matrix {
        /* Dimensions of the keyboard matrix, in rows and columns */
@@ -67,7 +64,7 @@ int key_matrix_decode(struct key_matrix *config, struct key_matrix_key *keys,
  * @param config        Keyboard matrix config
  * @param blob          FDT blob
  * @param node          Node containing compatible data
- * @return 0 if ok, -1 on error
+ * Return: 0 if ok, -1 on error
  */
 int key_matrix_decode_fdt(struct udevice *dev, struct key_matrix *config);
 
@@ -78,7 +75,7 @@ int key_matrix_decode_fdt(struct udevice *dev, struct key_matrix *config);
  * @param rows         Number of rows in key matrix
  * @param cols         Number of columns in key matrix
  * @param ghost_filter Non-zero to enable ghost filtering
- * @return 0 if ok, -1 on error
+ * Return: 0 if ok, -1 on error
  */
 int key_matrix_init(struct key_matrix *config, int rows, int cols,
                    int ghost_filter);
This page took 0.02676 seconds and 4 git commands to generate.