mei: kill not used BAR0 length and base variables
1. mem_base and mem_length are not used so we can delete them 2. add kdoc for mem_addr member of mei_device Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
47a73801f4
commit
fecb0d584e
|
@ -201,6 +201,7 @@ struct mei_cl {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct mei_device - MEI private device struct
|
* struct mei_device - MEI private device struct
|
||||||
|
* @mem_addr - mem mapped base register address
|
||||||
* @hbuf_depth - depth of host(write) buffer
|
* @hbuf_depth - depth of host(write) buffer
|
||||||
* @wr_ext_msg - buffer for hbm control responses (set in read cycle)
|
* @wr_ext_msg - buffer for hbm control responses (set in read cycle)
|
||||||
*/
|
*/
|
||||||
|
@ -221,11 +222,7 @@ struct mei_device {
|
||||||
*/
|
*/
|
||||||
struct list_head file_list;
|
struct list_head file_list;
|
||||||
long open_handle_count;
|
long open_handle_count;
|
||||||
/*
|
|
||||||
* memory of device
|
|
||||||
*/
|
|
||||||
unsigned int mem_base;
|
|
||||||
unsigned int mem_length;
|
|
||||||
void __iomem *mem_addr;
|
void __iomem *mem_addr;
|
||||||
/*
|
/*
|
||||||
* lock for the device
|
* lock for the device
|
||||||
|
|
Loading…
Reference in New Issue