ath10k: fix potential memory leak in ath10k_wmi_tlv_op_pull_fw_stats()
[linux-stable.git] / drivers / lightnvm / lightnvm.h
blob305c181509a63aaf07a192d71b41788694f3ed89
1 /*
2 * Copyright (C) 2016 CNEX Labs. All rights reserved.
3 * Initial release: Matias Bjorling <matias@cnexlabs.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License version
7 * 2 as published by the Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; see the file COPYING. If not, write to
16 * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139,
17 * USA.
21 #ifndef LIGHTNVM_H
22 #define LIGHTNVM_H
24 #include <linux/lightnvm.h>
26 /* core -> sysfs.c */
27 int __must_check nvm_sysfs_register_dev(struct nvm_dev *);
28 void nvm_sysfs_unregister_dev(struct nvm_dev *);
29 int nvm_sysfs_register(void);
30 void nvm_sysfs_unregister(void);
32 /* sysfs > core */
33 void nvm_free(struct nvm_dev *);
35 #endif